diff options
author | Mate Bartus <mate.bartus@gmail.com> | 2015-10-17 14:55:14 +0200 |
---|---|---|
committer | Mate Bartus <mate.bartus@gmail.com> | 2015-10-17 14:55:14 +0200 |
commit | fb434adf88fa070fd938cdf4c74f2792692be6c2 (patch) | |
tree | 7754c471ec4b07353626108087556b89cde3eba8 /phpBB/install | |
parent | 2efbf59f9761b869a81eaee298265290de62d6c0 (diff) | |
download | forums-fb434adf88fa070fd938cdf4c74f2792692be6c2.tar forums-fb434adf88fa070fd938cdf4c74f2792692be6c2.tar.gz forums-fb434adf88fa070fd938cdf4c74f2792692be6c2.tar.bz2 forums-fb434adf88fa070fd938cdf4c74f2792692be6c2.tar.xz forums-fb434adf88fa070fd938cdf4c74f2792692be6c2.zip |
[ticket/13371] Use user selected language in old installer
PHPBB3-13371
Diffstat (limited to 'phpBB/install')
-rw-r--r-- | phpBB/install/index.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/install/index.php b/phpBB/install/index.php index 664ed231ea..5a5afe79d9 100644 --- a/phpBB/install/index.php +++ b/phpBB/install/index.php @@ -244,6 +244,7 @@ set_error_handler(defined('PHPBB_MSG_HANDLER') ? PHPBB_MSG_HANDLER : 'msg_handle $lang_service = new \phpbb\language\language(new \phpbb\language\language_file_loader($phpbb_root_path, $phpEx)); $lang_service->add_lang($load_lang_files); +$lang_service->set_user_language($language); $user = new \phpbb\user($lang_service, '\phpbb\datetime'); $auth = new \phpbb\auth\auth(); |