diff --git a/lib/router.php b/lib/router.php index d2f90e3..c3321dc 100644 --- a/lib/router.php +++ b/lib/router.php @@ -51,6 +51,7 @@ function initRouter(): bool $routerRequest["page_name"]; // Redirect with default page name header("Location: $redirectAddress"); + echo "false"; return false; } else{ @@ -60,6 +61,7 @@ function initRouter(): bool if(empty($routerRequest["type"])){ $routerRequest["type"] = "page"; } + echo "true"; return true; } }