Add a directory separator to filter app directories with the same

prefix.

Fixes: oc-1663
This commit is contained in:
Bart Visscher 2012-09-06 22:27:56 +02:00
parent d936590f77
commit 39577495e1

View file

@ -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;
}