Created
July 6, 2014 20:54
-
-
Save SDKiller/f5b3e9b82658ad566769 to your computer and use it in GitHub Desktop.
AssetManager override
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace common\components; | |
use Yii; | |
use \yii\web\AssetManager; | |
class AssetManagerDev extends AssetManager | |
{ | |
public $publishOptions = []; | |
public function publish($path, $options = []) | |
{ | |
$options = array_merge($this->publishOptions, $options); | |
return parent::publish($path, $options); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
And in application config