remove trailing slash in %appswebroot% placeholder
This commit is contained in:
parent
2c1c1ba88c
commit
d450560b39
|
@ -17,7 +17,7 @@ class OC_Minimizer_CSS extends OC_Minimizer
|
||||||
$in_root = false;
|
$in_root = false;
|
||||||
foreach(OC::$APPSROOTS as $app_root) {
|
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'];
|
$in_root = rtrim($webroot.$app_root['url'], '/');
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue