From a965afc454b8e299e7666fd121af6e4faf433b33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Fri, 2 Feb 2024 16:23:54 +0100 Subject: [PATCH] exit on redirect --- lib/router.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/router.php b/lib/router.php index c3321dc..ea9b921 100644 --- a/lib/router.php +++ b/lib/router.php @@ -50,8 +50,8 @@ function initRouter(): bool $routerRequest["tld"] . "/" . $routerRequest["page_name"]; // Redirect with default page name - header("Location: $redirectAddress"); echo "false"; + header("Location: $redirectAddress"); return false; } else{