yii\web\AssetManager should not publish disabled asset bundles

This commit is contained in:
Qiang Xue
2014-11-24 23:21:36 -05:00
parent c0de9cd5ae
commit 33955a9e90
2 changed files with 2 additions and 0 deletions

View File

@ -233,6 +233,7 @@ class AssetManager extends Component
{
if (!isset($this->_dummyBundles[$name])) {
$this->_dummyBundles[$name] = $this->loadBundle($name, [
'sourcePath' => null,
'js' => [],
'css' => [],
'depends' => [],