diff --git a/lib/page.php b/lib/page.php index 8cd53e4..57a682e 100644 --- a/lib/page.php +++ b/lib/page.php @@ -77,6 +77,9 @@ function getPage($page_name = null): array|false|string } print_r($pageMetadata["parameters"]); + echo "
"; + print_r($_SESSION); + if(!empty($pageMetadata["parameters"]["minimal_permission_level"])){ $page_required_permission = intval($pageMetadata["parameters"]["minimal_permission_level"]); }