summaryrefslogtreecommitdiffstats
path: root/lib/minimizer/css.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/minimizer/css.php')
-rw-r--r--lib/minimizer/css.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/minimizer/css.php b/lib/minimizer/css.php
index bf2a6d1d18e..f8e84482bb1 100644
--- a/lib/minimizer/css.php
+++ b/lib/minimizer/css.php
@@ -16,7 +16,7 @@ class OC_Minimizer_CSS extends OC_Minimizer
$in_root = false;
foreach(OC::$APPSROOTS as $app_root) {
- if(strpos($file, $app_root['path']) == 0) {
+ if(strpos($file, $app_root['path']) === 0) {
$in_root = $webroot.$app_root['url'];
break;
}
@@ -33,7 +33,6 @@ class OC_Minimizer_CSS extends OC_Minimizer
if (!defined('DEBUG') || !DEBUG){
$css_out = CSSMin::minify($css_out);
}
-// die();
return $css_out;
}
}