mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
- change registration page language on-the-fly
- added download function to functions_compress as well as tiny bugfixes - added local_name and author to iso.txt file git-svn-id: file:///svn/phpbb/trunk@5074 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -523,7 +523,7 @@ class user extends session
|
||||
$accept_lang = substr($accept_lang, 0, 2) . '_' . strtoupper(substr($accept_lang, 3, 2));
|
||||
if (file_exists($phpbb_root_path . 'language/' . $accept_lang . "/common.$phpEx"))
|
||||
{
|
||||
$this->lang_name = $accept_lang;
|
||||
$this->lang_name = $config['default_lang'] = $accept_lang;
|
||||
$this->lang_path = $phpbb_root_path . 'language/' . $accept_lang . '/';
|
||||
break;
|
||||
}
|
||||
@@ -533,7 +533,7 @@ class user extends session
|
||||
$accept_lang = substr($accept_lang, 0, 2);
|
||||
if (file_exists($phpbb_root_path . 'language/' . $accept_lang . "/common.$phpEx"))
|
||||
{
|
||||
$this->lang_name = $accept_lang;
|
||||
$this->lang_name = $config['default_lang'] = $accept_lang;
|
||||
$this->lang_path = $phpbb_root_path . 'language/' . $accept_lang . '/';
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user