Moved render_info and render_error into Template class.
This commit is contained in:
parent
c0dbd36cbe
commit
d680b29f16
45 changed files with 330 additions and 582 deletions
public
|
@ -236,10 +236,8 @@ if($inManageMode) {
|
|||
}
|
||||
}
|
||||
|
||||
if(!$hasManageAccess) {
|
||||
echo render_error(403);
|
||||
exit;
|
||||
}
|
||||
if(!$hasManageAccess)
|
||||
Template::throwError(403);
|
||||
}
|
||||
|
||||
$mszRequestPath = $request->getPath();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue