This commit is contained in:
Bruno Rybársky 2024-02-03 16:30:11 +01:00
parent 5a359eaf4c
commit 530c7ca13c

@ -2,10 +2,7 @@
function getDynamicPermission($file): int {
$page_tmp = include_once($file);
print_r($page_tmp);
//["parameters"]["minimal_permission_level"]
//error_log("Getting page $file");
return 255;
return $page_tmp["parameters"]["minimal_permission_level"];
}
function generateNavigation(): string