From 7070ea9349f69204fda836273271aeb89607613e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Fri, 2 Feb 2024 16:26:38 +0100 Subject: [PATCH] exit on redirect --- lib/router.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/router.php b/lib/router.php index 0eb351e..0287bcf 100644 --- a/lib/router.php +++ b/lib/router.php @@ -54,6 +54,7 @@ function initRouter(): bool // Redirect with default page name echo "false"; header("Location: $redirectAddress"); + header("RedirHere: $redirectAddress"); return false; } else{