mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-22 18:09:06 +01:00
LSsession :: setLocale() : Added includes of lang.*.php files
This commit is contained in:
parent
1f069e41e2
commit
dfc8f368ba
1 changed files with 3 additions and 0 deletions
|
@ -373,6 +373,9 @@ class LSsession {
|
||||||
if (is_file(LS_I18N_DIR.'/'.$lang.'/lang.php')) {
|
if (is_file(LS_I18N_DIR.'/'.$lang.'/lang.php')) {
|
||||||
include(LS_I18N_DIR.'/'.$lang.'/lang.php');
|
include(LS_I18N_DIR.'/'.$lang.'/lang.php');
|
||||||
}
|
}
|
||||||
|
foreach (listFiles(LS_I18N_DIR.'/'.$lang,'/^lang.+\.php$/') as $file) {
|
||||||
|
include(LS_I18N_DIR."/$lang/$file");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if ($encoding && $lang) {
|
if ($encoding && $lang) {
|
||||||
|
|
Loading…
Reference in a new issue