mirror of
https://github.com/24eme/signaturepdf
synced 2024-05-21 15:16:37 +02:00
Ajout de parametre path pour corriger probleme de traduction
This commit is contained in:
parent
c454c50a94
commit
8c998a7290
2
app.php
2
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");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue