add todo
This commit is contained in:
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"]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user