]> source.dussan.org Git - nextcloud-server.git/commitdiff
remove trailing slash in %appswebroot% placeholder
authorFlorian Hülsmann <fh@cbix.de>
Sat, 23 Jun 2012 14:59:55 +0000 (16:59 +0200)
committerFlorian Hülsmann <fh@cbix.de>
Sat, 23 Jun 2012 14:59:55 +0000 (16:59 +0200)
lib/minimizer/css.php

index f8e84482bb12bc5b9bf4c27a53c0f4e122f56c27..110935ea3b736048a011a32fb37e66f4953bb4c9 100644 (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;
                                }
                        }