diff options
author | Minteck <contact@minteck.org> | 2022-06-08 14:57:52 +0200 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-06-08 14:57:52 +0200 |
commit | 544bf38fd99d9b7e4d0dfcf14e23b459ed8557f2 (patch) | |
tree | ef83b4e35735cb15b8b9e53b6ac571783dd56644 /app/session.php | |
parent | 5a5f501cf7162c70fee2961c79b1d28247be8a48 (diff) | |
download | core-544bf38fd99d9b7e4d0dfcf14e23b459ed8557f2.tar.gz core-544bf38fd99d9b7e4d0dfcf14e23b459ed8557f2.tar.bz2 core-544bf38fd99d9b7e4d0dfcf14e23b459ed8557f2.zip |
Fix i18n bug
Diffstat (limited to 'app/session.php')
-rw-r--r-- | app/session.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/session.php b/app/session.php index f4acf2f..e5a5986 100644 --- a/app/session.php +++ b/app/session.php @@ -26,7 +26,7 @@ if (isset($_COOKIE['FL_SESSION_TOKEN'])) { $_USER = $_PROFILE['login'];
$_SUID = $_PROFILE['login'];
$_FULLNAME = $_PROFILE['name'];
- $_FRENCH = $_PROFILE['locale']['name'] === "fr";
+ $_FRENCH = $_PROFILE['profile']['locale']['name'] === "fr";
if (!in_array($_USER, $_WELCOMED)) {
header("Location: https://" . $_CONFIG["Global"]["cdn"] . "/welcome/?r=" . urlencode("https://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"));
|