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

@ -1,11 +1,8 @@
<?php
function getDynamicPermission($file): int {
$page_tmp = include_once($file);
print_r($page_tmp);
//["parameters"]["minimal_permission_level"]
//error_log("Getting page $file");
return 255;
$page_tmp = include_once($file);
return $page_tmp["parameters"]["minimal_permission_level"];
}
function generateNavigation(): string