remove trailing slash in %appswebroot% placeholder

This commit is contained in:
Florian Hülsmann 2012-06-23 16:59:55 +02:00
parent 2c1c1ba88c
commit d450560b39
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ class OC_Minimizer_CSS extends OC_Minimizer
$in_root = false;
foreach(OC::$APPSROOTS as $app_root) {
if(strpos($file, $app_root['path']) === 0) {
$in_root = $webroot.$app_root['url'];
$in_root = rtrim($webroot.$app_root['url'], '/');
break;
}
}