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

@ -34,6 +34,7 @@ Yii Framework 2 Change Log
- Bug #6164: Added missing support for `yii\db\Exression` to QueryBuilder `BETWEEN` and `LIKE` conditions (cebe)
- Bug: Gii console command help information does not contain global options (qiangxue)
- Bug: `yii\web\UrlRule` was unable to create URLs for rules containing unicode characters (samdark)
- Bug: `yii\web\AssetManager` should not publish disabled asset bundles (qiangxue)
- Enh #4181: Added `yii\bootstrap\Modal::$headerOptions` and `yii\bootstrap\Modal::$footerOptions` (tuxoff, samdark)
- Enh #4263: Added migration and SQL schema files for `yii\log\DbTarget` (samdark)
- Enh #4450: Added `yii\bootstrap\Nav::renderDropdown()` (qiangxue)

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' => [],