mirror of
https://github.com/ShaYmez/FreeSTAR-Status-Engine.git
synced 2026-06-12 19:08:43 -04:00
Re #33 - remove bunch of dead code & fix some bugs
This commit is contained in:
@@ -230,7 +230,7 @@ class LocaleNegotiator
|
||||
$this->default_language = $default_language;
|
||||
//Works only if the server supports the locale
|
||||
//This basically means $accepted_langs[<lang_code>] = "<lang name>";
|
||||
foreach ($tmp as $key => $value) {
|
||||
foreach ($tmp as $value) {
|
||||
$lang = basename($value);
|
||||
$this->accepted_langs[$lang] = $this->all_locales[$lang];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user