2022.09-rc
Hypolite Petovan 2017-04-19 10:14:43 -04:00
rodzic 941dd48b53
commit bf1199f2ea
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -44,7 +44,7 @@ function get_browser_language() {
// check if we have translations for the preferred languages and pick the 1st that has
for ($i=0; $i<count($lang_list); $i++) {
$lang = $lang_list[$i];
if($lang === 'en' || (file_exists("view/lang/$lang") && is_dir("view/lang/$lang"))) {
if ($lang === 'en' || (file_exists("view/lang/$lang") && is_dir("view/lang/$lang"))) {
$preferred = $lang;
break;
}