diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-09-06 22:27:56 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-09-06 22:27:56 +0200 |
commit | 39577495e122a9d94507f99c6b3f9f3430735c13 (patch) | |
tree | 80fbd44105199569096e7b87df16361308084040 | |
parent | d936590f77ac314cbb682924bf281fccf996781b (diff) | |
download | nextcloud-server-39577495e122a9d94507f99c6b3f9f3430735c13.tar.gz nextcloud-server-39577495e122a9d94507f99c6b3f9f3430735c13.zip |
Add a directory separator to filter app directories with the same
prefix.
Fixes: oc-1663
-rw-r--r-- | lib/minimizer/css.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/minimizer/css.php b/lib/minimizer/css.php index 0f1435fde45..41886087199 100644 --- a/lib/minimizer/css.php +++ b/lib/minimizer/css.php @@ -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 = rtrim($webroot.$app_root['url'], '/'); break; } |