summaryrefslogtreecommitdiffstats
path: root/lib/minimizer
diff options
context:
space:
mode:
authorFlorian Hülsmann <fh@cbix.de>2012-06-23 16:59:55 +0200
committerFlorian Hülsmann <fh@cbix.de>2012-06-23 16:59:55 +0200
commitd450560b392f7be4ff05f31b6ffe89caf03dd2b3 (patch)
treeaa3f8ade572ca9d0a1567b272c225bb7aa894fdd /lib/minimizer
parent2c1c1ba88c7eb7a4c40fc14bc1cc92287ad1c8da (diff)
downloadnextcloud-server-d450560b392f7be4ff05f31b6ffe89caf03dd2b3.tar.gz
nextcloud-server-d450560b392f7be4ff05f31b6ffe89caf03dd2b3.zip
remove trailing slash in %appswebroot% placeholder
Diffstat (limited to 'lib/minimizer')
-rw-r--r--lib/minimizer/css.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/minimizer/css.php b/lib/minimizer/css.php
index f8e84482bb1..110935ea3b7 100644
--- a/lib/minimizer/css.php
+++ b/lib/minimizer/css.php
@@ -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;
}
}