From c3ed87cf5772e30a1c9be65f834ecb99b6423a47 Mon Sep 17 00:00:00 2001 From: bruno Date: Thu, 1 Feb 2024 10:02:29 +0100 Subject: [PATCH] what is this variable --- lib/page.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/page.php b/lib/page.php index f228db1..0dd4e06 100644 --- a/lib/page.php +++ b/lib/page.php @@ -99,6 +99,7 @@ function getPage($page_name = null): array|false|string $curprivlvl = $_SESSION["privilegelevel"]; $orig = $pageMetadata["parameters"]["secret"]; + print_r($orig); echo "Secrecy: $is_secret_page($orig), you need to have $page_required_permission, you have $curprivlvl"; if($page_required_permission > $_SESSION["privilegelevel"]){