Implement a bunch of stuff
This commit is contained in:
@@ -89,7 +89,7 @@ function getPage($page_name = null): array|false|string
|
||||
}
|
||||
|
||||
|
||||
if($page_required_permission > $_SESSION["privilegelevel"]){
|
||||
if($page_required_permission > $_SESSION["privilege_level"]){
|
||||
if($is_secret_page == 1) {
|
||||
$page_tmp = file_get_contents($routerConfig["template_dir"] . "404.html");
|
||||
$pageMetadata = parsePageTag($page_tmp);
|
||||
|
Reference in New Issue
Block a user