From b24934a866a9c1ed3b25553765e89b94d590e440 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sat, 17 Feb 2024 02:19:59 +0100 Subject: [PATCH] fixed location MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- server/web/update_settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/web/update_settings.php b/server/web/update_settings.php index 3134e07..e237a08 100644 --- a/server/web/update_settings.php +++ b/server/web/update_settings.php @@ -35,7 +35,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
query($update_query) === TRUE) { - header("Location: ".$_SERVER['SERVER_NAME']."/"); + header("Location: /"); $conn->close(); exit(); } else {