debug prints again
This commit is contained in:
parent
4d73c81c89
commit
f442a8f34b
@ -106,7 +106,8 @@ function getPage($page_name = null): array|false|string
|
||||
$origminlvl = $pageMetadata["parameters"]["minimal_permission_level"];
|
||||
$intvalmillvl = intval($origminlvl);
|
||||
$curprivlvl = $_SESSION["privilegelevel"];
|
||||
echo "Need $page_required_permission(orig: $origminlvl, intval: $intvalmillvl), u have: $curprivlvl";
|
||||
$emptyy = empty($pageMetadata["parameters"]["minimal_permission_level"]);
|
||||
echo "Need $page_required_permission(orig: $origminlvl, intval: $intvalmillvl, empty: $emptyy), u have: $curprivlvl";
|
||||
print_r($pageMetadata["parameters"]);
|
||||
|
||||
if($page_required_permission > $_SESSION["privilegelevel"]){
|
||||
|
Loading…
Reference in New Issue
Block a user