forked from Adleraci/adlerka.top
is it empty?
This commit is contained in:
parent
c3ed87cf57
commit
15ad67fdba
@ -99,7 +99,7 @@ function getPage($page_name = null): array|false|string
|
||||
|
||||
$curprivlvl = $_SESSION["privilegelevel"];
|
||||
$orig = $pageMetadata["parameters"]["secret"];
|
||||
print_r($orig);
|
||||
print_r(empty($pageMetadata["parameters"]["secret"]));
|
||||
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