This commit is contained in:
Bruno Rybársky 2024-02-03 16:29:19 +01:00
parent e22e438c40
commit 5a359eaf4c

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