remove debug prints

This commit is contained in:
Bruno Rybársky 2024-02-01 10:51:40 +01:00
parent cbcbb9f4b0
commit 055cc20400

@ -103,13 +103,6 @@ function getPage($page_name = null): array|false|string
}
$origminlvl = $pageMetadata["parameters"]["minimal_permission_level"];
$intvalmillvl = intval($origminlvl);
$curprivlvl = $_SESSION["privilegelevel"];
$emptyy = empty($pageMetadata["parameters"]["minimal_permission_level"]);
echo "Need $page_required_permission(orig: $origminlvl, intval: $intvalmillvl, empty: $emptyy), u have: $curprivlvl";
print_r($pageMetadata["parameters"]);
if($page_required_permission > $_SESSION["privilegelevel"]){
if($is_secret_page == 1) {
$page_tmp = file_get_contents($routerConfig["template_dir"] . "404.html");