Dont lock /$user/files
This commit is contained in:
parent
3d08964b64
commit
9d7138aa50
1 changed files with 1 additions and 1 deletions
|
@ -1941,7 +1941,7 @@ class View {
|
|||
$pathSegments = explode('/', $path);
|
||||
if (isset($pathSegments[2])) {
|
||||
// E.g.: /username/files/path-to-file
|
||||
return $pathSegments[2] === 'files';
|
||||
return ($pathSegments[2] === 'files') && (count($pathSegments) > 3);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue