Merge branch 'master' of github.com:yiisoft/yii2

This commit is contained in:
Qiang Xue
2013-07-06 21:20:56 -04:00
2 changed files with 116 additions and 1 deletions

View File

@@ -126,8 +126,8 @@ class AssetManager extends Component
$config = $this->bundles[$name];
if (!isset($config['class'])) {
$config['class'] = 'yii\\web\\AssetBundle';
$this->bundles[$name] = Yii::createObject($config);
}
$this->bundles[$name] = Yii::createObject($config);
}
return $this->bundles[$name];