mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-09 09:47:25 +08:00
yii\web\AssetManager should not publish disabled asset bundles
This commit is contained in:
@ -233,6 +233,7 @@ class AssetManager extends Component
|
||||
{
|
||||
if (!isset($this->_dummyBundles[$name])) {
|
||||
$this->_dummyBundles[$name] = $this->loadBundle($name, [
|
||||
'sourcePath' => null,
|
||||
'js' => [],
|
||||
'css' => [],
|
||||
'depends' => [],
|
||||
|
||||
Reference in New Issue
Block a user