diff options
author | Brice Maron <brice@bmaron.net> | 2012-06-22 15:20:18 +0200 |
---|---|---|
committer | Brice Maron <brice@bmaron.net> | 2012-06-22 15:21:44 +0200 |
commit | 06e20fe4b8e068f0f114dff2f34b5506b8f1b593 (patch) | |
tree | 6bcdd0b7724500849c544a28c6a9e8f2cfd0279d /lib | |
parent | 1f06cdf81f1a5100008884e67078e868e60ae9a8 (diff) | |
download | nextcloud-server-06e20fe4b8e068f0f114dff2f34b5506b8f1b593.tar.gz nextcloud-server-06e20fe4b8e068f0f114dff2f34b5506b8f1b593.zip |
Correct css inclusion with minimizer
Diffstat (limited to 'lib')
-rw-r--r-- | lib/minimizer/css.php | 3 |
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; } } |