debug prints again
This commit is contained in:
parent
55b4e17a77
commit
aa5d35656a
@ -102,6 +102,9 @@ function getPage($page_name = null): array|false|string
|
||||
$is_secret_page = $routerConfig["default_page_secret"];
|
||||
}
|
||||
|
||||
$curprivlvl = $_SESSION["privilegelevel"];
|
||||
echo "Need $page_required_permission, u have: $curprivlvl";
|
||||
|
||||
if($page_required_permission > $_SESSION["privilegelevel"]){
|
||||
if($is_secret_page == 1) {
|
||||
$page_tmp = file_get_contents($routerConfig["template_dir"] . "404.html");
|
||||
|
Loading…
Reference in New Issue
Block a user