diff options
Diffstat (limited to 'lib/minimizer/css.php')
-rw-r--r-- | lib/minimizer/css.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/minimizer/css.php b/lib/minimizer/css.php index 76dc99b335b..5ba557c4cdc 100644 --- a/lib/minimizer/css.php +++ b/lib/minimizer/css.php @@ -28,8 +28,8 @@ class OC_Minimizer_CSS extends OC_Minimizer $append = false; foreach( OC::$APPSROOTS as $apps_dir) { - if($this->appendIfExist('cssfiles', $apps_dir['path'], $apps_dir['web'], "$style$fext.css", true)) { $append =true; break; } - elseif($this->appendIfExist('cssfiles', $apps_dir['path'], $apps_dir['web'], "$style.css", true )) { $append =true; break; } + if($this->appendIfExist($apps_dir['path'], $apps_dir['web'], "$style$fext.css", true)) { $append =true; break; } + elseif($this->appendIfExist($apps_dir['path'], $apps_dir['web'], "$style.css", true )) { $append =true; break; } } if(! $append) { echo('css file not found: style:'.$script.' formfactor:'.$fext.' webroot:'.OC::$WEBROOT.' serverroot:'.OC::$SERVERROOT); |