Moved render_info and render_error into Template class.

This commit is contained in:
flash 2023-08-31 15:59:53 +00:00
parent c0dbd36cbe
commit d680b29f16
45 changed files with 330 additions and 582 deletions
public

View file

@ -236,10 +236,8 @@ if($inManageMode) {
}
}
if(!$hasManageAccess) {
echo render_error(403);
exit;
}
if(!$hasManageAccess)
Template::throwError(403);
}
$mszRequestPath = $request->getPath();