mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Correct css inclusion with minimizer
This commit is contained in:
parent
1f06cdf81f
commit
06e20fe4b8
1 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue