Revision #3 has been created by dhampik on Nov 25, 2012, 12:17:10 PM with the memo:
Added check if YII_DEBUG is defined to getAssetsBase method
« previous (#2)
Changes
Title
unchanged
AssetManager: clearing browser's cache on site update
Category
unchanged
How-tos
Yii version
unchanged
Tags
unchanged
assets, cache, AssetManager, CAssetManager
Content
changed
[...]
if ($this->_assetsBase === null) {
$this->_assetsBase = Yii::app()->assetManager->publish(
Yii::getPathOfAlias('application.assets'),
false,
-1,
defined('YII_DEBUG') && YII_DEBUG
);
}
return $this->_assetsBase;
}[...]