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
1 changed files with 1 additions and 1 deletions

View File

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