debug prints again
This commit is contained in:
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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user