Commit f2284948 by Qiang Xue

script IWP

parent c49222f7
<?php
return array(
'basePath' => __DIR__ . '/web/assets',
);
\ No newline at end of file
...@@ -96,10 +96,11 @@ class AssetManager extends Component ...@@ -96,10 +96,11 @@ class AssetManager extends Component
/** /**
* @param string $name * @param string $name
* @param boolean $publish
* @return AssetBundle * @return AssetBundle
* @throws InvalidParamException * @throws InvalidParamException
*/ */
public function getBundle($name) public function getBundle($name, $publish = true)
{ {
if (!isset($this->bundles[$name])) { if (!isset($this->bundles[$name])) {
$manifest = Yii::getAlias("@{$name}/assets.php", false); $manifest = Yii::getAlias("@{$name}/assets.php", false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment