what is this variable

This commit is contained in:
Bruno Rybársky 2024-02-01 10:02:29 +01:00
parent ac279a143e
commit c3ed87cf57

@ -99,6 +99,7 @@ function getPage($page_name = null): array|false|string
$curprivlvl = $_SESSION["privilegelevel"]; $curprivlvl = $_SESSION["privilegelevel"];
$orig = $pageMetadata["parameters"]["secret"]; $orig = $pageMetadata["parameters"]["secret"];
print_r($orig);
echo "Secrecy: $is_secret_page($orig), you need to have $page_required_permission, you have $curprivlvl"; echo "Secrecy: $is_secret_page($orig), you need to have $page_required_permission, you have $curprivlvl";
if($page_required_permission > $_SESSION["privilegelevel"]){ if($page_required_permission > $_SESSION["privilegelevel"]){