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 5515c7b2c0
commit b9b88aa666
No known key found for this signature in database
GPG key ID: E166FD8976B3BAC8

View file

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