mirror of
https://github.com/24eme/signaturepdf
synced 2024-06-03 14:32:13 +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) {
|
if($putCookie) {
|
||||||
$cookieDate = strtotime('+1 year');
|
$cookieDate = strtotime('+1 year');
|
||||||
setcookie("LANGUAGE", $langSupported, ['expires' => $cookieDate, 'samesite' => 'Strict']);
|
setcookie("LANGUAGE", $langSupported, ['expires' => $cookieDate, 'samesite' => 'Strict', 'path' => "/"]);
|
||||||
}
|
}
|
||||||
putenv("LANGUAGE=$langSupported");
|
putenv("LANGUAGE=$langSupported");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue