diff options
| author | Mate Bartus <mate.bartus@gmail.com> | 2015-10-17 15:02:09 +0200 |
|---|---|---|
| committer | Mate Bartus <mate.bartus@gmail.com> | 2015-10-17 15:02:09 +0200 |
| commit | 22b9f35bdfd878d74536f26bc5dc249255b05480 (patch) | |
| tree | 19a3e3367fc11c93ee996ba70d552998498c0811 /phpBB/install | |
| parent | fb434adf88fa070fd938cdf4c74f2792692be6c2 (diff) | |
| download | forums-22b9f35bdfd878d74536f26bc5dc249255b05480.tar forums-22b9f35bdfd878d74536f26bc5dc249255b05480.tar.gz forums-22b9f35bdfd878d74536f26bc5dc249255b05480.tar.bz2 forums-22b9f35bdfd878d74536f26bc5dc249255b05480.tar.xz forums-22b9f35bdfd878d74536f26bc5dc249255b05480.zip | |
[ticket/13371] Add language files to the service as well
PHPBB3-13371
Diffstat (limited to 'phpBB/install')
| -rw-r--r-- | phpBB/install/index.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/install/index.php b/phpBB/install/index.php index 5a5afe79d9..a578e664cd 100644 --- a/phpBB/install/index.php +++ b/phpBB/install/index.php @@ -305,6 +305,11 @@ $template = new \phpbb\template\twig\twig( array($phpbb_container->get('template.twig.extensions.phpbb')) ); +/** @var \phpbb\language\language $lang_service */ +$lang_service = $phpbb_container->get('language'); +$lang_service->add_lang($load_lang_files); +$lang_service->set_user_language($language); + $paths = array($phpbb_root_path . 'install/update/new/adm/style', $phpbb_admin_path . 'style'); $paths = array_filter($paths, 'is_dir'); $template->set_custom_style(array( |
