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"); }