debug prints again

This commit is contained in:
Bruno Rybársky 2024-02-01 10:18:13 +01:00
parent aa5d35656a
commit 8208980118

@ -104,6 +104,7 @@ function getPage($page_name = null): array|false|string
$curprivlvl = $_SESSION["privilegelevel"]; $curprivlvl = $_SESSION["privilegelevel"];
echo "Need $page_required_permission, u have: $curprivlvl"; echo "Need $page_required_permission, u have: $curprivlvl";
print_r($pageMetadata["parameters"]);
if($page_required_permission > $_SESSION["privilegelevel"]){ if($page_required_permission > $_SESSION["privilegelevel"]){
if($is_secret_page == 1) { if($is_secret_page == 1) {