mirror of
https://github.com/ShaYmez/FreeSTAR-Status-Engine.git
synced 2026-06-01 13:46:46 -04:00
Fixes issue #64
This commit is contained in:
@@ -27,6 +27,7 @@ if (!isset($_SESSION['locale'])||isset($_GET['lang']))
|
||||
$_SESSION['locale'] = $best_match;
|
||||
}
|
||||
|
||||
putenv('LANGUAGE='.$_SESSION['locale'].'.UTF-8');
|
||||
setlocale(LC_ALL, $_SESSION['locale'].".UTF-8");
|
||||
setlocale(LC_MESSAGES, $_SESSION['locale'].".UTF-8");
|
||||
bindtextdomain("server-status", __DIR__ . "/locale/");
|
||||
|
||||
Reference in New Issue
Block a user