we can also have a path user/cache/...

This commit is contained in:
Bjoern Schiessle 2013-12-19 10:32:56 +01:00 committed by Vincent Petry
parent ae3df84e20
commit fe7fb66ef8

View file

@ -274,7 +274,7 @@ class Helper {
$split = explode('/', $trimmed);
// it is not a file relative to data/user/files
if (count($split) < 2 || $split[1] !== 'files') {
if (count($split) < 2 || $split[1] !== 'files' || $split[1] !== 'cache') {
return false;
}