fix stupid mistake

This commit is contained in:
Bruno Rybársky 2024-02-01 09:26:53 +01:00
parent 1f915ce374
commit 1a3dc537b7

@ -76,9 +76,6 @@ function getPage($page_name = null): array|false|string
$page = file_get_contents($routerConfig["template_dir"] . "404.html");
}
$pageMetadata = parsePageTag($page);
$page = $pageMetadata["output"];
print_r($pageMetadata["parameters"]);
if(!empty($pageMetadata["parameters"]["minimal_permission_level"])){
$page_required_permission = intval($pageMetadata["parameters"]["minimal_permission_level"]);