From a21f18991ef4c95e8a4446f45e5327a8aee87e7f Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Tue, 9 Jul 2024 13:52:42 +0200 Subject: [PATCH] after setting the cookie we have to reload the page to make it available --- install/index.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install/index.php b/install/index.php index 5891c6472..9b0c39439 100644 --- a/install/index.php +++ b/install/index.php @@ -99,6 +99,8 @@ if (isset($_GET['lang'])) { if (!isset($_COOKIE[$gt_conf['lang_cookie']])) { $browser_language = _get_client_language(); setcookie($gt_conf['lang_cookie'], $browser_language['gettext']); + header("Location: " . $installer_url); + exit(); } // get the language from the cookie $language = $_COOKIE[$gt_conf['lang_cookie']];