Add a directory separator to filter app directories with the same
prefix. Fixes: oc-1663
This commit is contained in:
parent
d936590f77
commit
39577495e1
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue