Fixed broom closet index being visible while logged out???
This commit is contained in:
parent
3e14f63bdb
commit
269dc78919
2 changed files with 2 additions and 2 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
20250130
|
||||
20250130.1
|
||||
|
|
|
@ -136,7 +136,7 @@ if(in_array('main', $msz->env->getArray(sprintf('domain:%s', $request->getHeader
|
|||
if(str_starts_with($mszLegacyPath, $mszLegacyPathPrefix)) {
|
||||
$mszLegacyPathReal = realpath($mszLegacyPath);
|
||||
if($mszLegacyPath === $mszLegacyPathReal || $mszLegacyPath === $mszLegacyPathReal . '/') {
|
||||
if(str_starts_with($mszRequestPath, '/manage') && !$msz->hasManageAccess())
|
||||
if(str_starts_with($mszRequestPath, 'manage') && !$msz->hasManageAccess())
|
||||
Template::throwError(403);
|
||||
|
||||
if(is_dir($mszLegacyPath))
|
||||
|
|
Loading…
Reference in a new issue