mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-14 06:11:35 +08:00
yii\web\AssetManager
should not publish disabled asset bundles
This commit is contained in:
@ -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)
|
||||
|
@ -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