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 <?php
function getDynamicPermission($file): int { function getDynamicPermission($file): int {
$page_tmp = include_once($file); $page_tmp = include_once($file);
print_r($page_tmp); return $page_tmp["parameters"]["minimal_permission_level"];
//["parameters"]["minimal_permission_level"]
//error_log("Getting page $file");
return 255;
} }
function generateNavigation(): string function generateNavigation(): string