Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #5 from Andrewpk/master

Conditional for css in EAssetManagerBoost
  • Loading branch information...
commit 3bac23f0355af418807d3b845e0afa14a8c9c78b 2 parents 1b8f516 + 87cf3a6
Antonio Ramirez authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  extensions/EScriptBoost/EAssetManagerBoost.php
2  extensions/EScriptBoost/EAssetManagerBoost.php
View
@@ -164,7 +164,7 @@ public function copyFile($src, $dstFile)
$dstFile, EScriptBoost::minifyJs(@file_get_contents($src), EScriptBoost::JS_MIN_PLUS));
@touch($dstFile, @filemtime($src));
}
- else if ($ext == 'CSS')
+ else if (($ext == 'CSS' && !$this->strpos_arr($dstFile, $this->minifiedExtensionFlags)) || $this->forceCompress )
{
Yii::trace('copyFile CSS Compressing: ' . $src, 'EAssetManagerBoost');
Please sign in to comment.
Something went wrong with that request. Please try again.