diff --git a/lib/router.php b/lib/router.php index 710c41c..1558e68 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"); + exit(); } else{ if($_SERVER["REQUEST_METHOD"] == "POST"){