mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 01:37:02 +02:00
languages fix
This commit is contained in:
@ -11,6 +11,7 @@ class Language {
|
||||
|
||||
if(isset($_SESSION['lang'])) {
|
||||
$file = DIR_LANGUAGE . $_SESSION['lang'] . '/messages.php';
|
||||
define('LANG', $_SESSION['lang']);
|
||||
}
|
||||
else {
|
||||
$pref_langs = $this->get_preferred_languages();
|
||||
|
Reference in New Issue
Block a user