From 8c998a7290dc16b966dff23a356491dddcc8afea Mon Sep 17 00:00:00 2001 From: tale-fau Date: Thu, 26 Oct 2023 12:42:27 +0200 Subject: [PATCH] Ajout de parametre path pour corriger probleme de traduction --- app.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.php b/app.php index 3f8439c..7a233c7 100644 --- a/app.php +++ b/app.php @@ -497,7 +497,7 @@ function selectLanguage($lang, $f3, $putCookie = false) { } if($putCookie) { $cookieDate = strtotime('+1 year'); - setcookie("LANGUAGE", $langSupported, ['expires' => $cookieDate, 'samesite' => 'Strict']); + setcookie("LANGUAGE", $langSupported, ['expires' => $cookieDate, 'samesite' => 'Strict', 'path' => "/"]); } putenv("LANGUAGE=$langSupported"); }