mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-12 06:18:52 +00:00
There is no default_language ...
git-svn-id: file:///svn/phpbb/trunk@4185 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
4d6a767305
commit
eba779cb35
1 changed files with 13 additions and 18 deletions
|
@ -175,6 +175,7 @@ if (!empty($_SERVER['HTTP_ACCEPT_LANGUAGE']) && !$language)
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// No appropriate language found ... so let's use the first one in the language
|
||||
// dir, this may or may not be English
|
||||
|
@ -192,12 +193,6 @@ if (!empty($_SERVER['HTTP_ACCEPT_LANGUAGE']) && !$language)
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!$language)
|
||||
{
|
||||
$language = $default_language;
|
||||
}
|
||||
|
||||
include($phpbb_root_path . 'language/' . $language . '/lang_main.'.$phpEx);
|
||||
include($phpbb_root_path . 'language/' . $language . '/lang_admin.'.$phpEx);
|
||||
|
|
Loading…
Add table
Reference in a new issue