This commit is contained in:
Bruno Rybársky 2024-02-01 10:52:03 +01:00
parent 055cc20400
commit 7920fa5b1d

@ -50,7 +50,7 @@ function generateNavigation(): string
$page_file = $routerConfig["page_dir"] . $site_dir . "/" . $page_file ;
$page_tmp = file_get_contents($page_file);
$pageMetadata = parsePageTag($page_tmp);
$pageMetadata = parsePageTag($page_tmp); //make dynamic pages work here
if(!empty($pageMetadata["parameters"]["minimal_permission_level"])){
$page_required_permission = intval($pageMetadata["parameters"]["minimal_permission_level"]);
}