forked from Adleraci/adlerka.top
debug prints again
This commit is contained in:
parent
8208980118
commit
4d73c81c89
@ -102,8 +102,11 @@ function getPage($page_name = null): array|false|string
|
||||
$is_secret_page = $routerConfig["default_page_secret"];
|
||||
}
|
||||
|
||||
|
||||
$origminlvl = $pageMetadata["parameters"]["minimal_permission_level"];
|
||||
$intvalmillvl = intval($origminlvl);
|
||||
$curprivlvl = $_SESSION["privilegelevel"];
|
||||
echo "Need $page_required_permission, u have: $curprivlvl";
|
||||
echo "Need $page_required_permission(orig: $origminlvl, intval: $intvalmillvl), u have: $curprivlvl";
|
||||
print_r($pageMetadata["parameters"]);
|
||||
|
||||
if($page_required_permission > $_SESSION["privilegelevel"]){
|
||||
|
Loading…
Reference in New Issue
Block a user