forked from Adleraci/adlerka.top
what is this variable
This commit is contained in:
parent
ac279a143e
commit
c3ed87cf57
@ -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"]){
|
||||
|
Loading…
Reference in New Issue
Block a user