Don't lock in the appdata_ directory

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2017-08-10 12:35:33 +02:00
parent 9cae892974
commit d25ea6ae1c
No known key found for this signature in database
GPG key ID: E166FD8976B3BAC8

View file

@ -2066,7 +2066,7 @@ class View {
return ($pathSegments[2] === 'files') && (count($pathSegments) > 3);
}
return true;
return strpos($path, '/appdata_') !== 0;
}
/**