diff options
author | Mate Bartus <mate.bartus@gmail.com> | 2015-07-24 18:05:10 +0200 |
---|---|---|
committer | Mate Bartus <mate.bartus@gmail.com> | 2015-07-24 18:05:10 +0200 |
commit | be7e1ba7a0d35a86c4b41ab037e82a3a114108cb (patch) | |
tree | 3787a42ee99e76060c00ff7030d9258ae09a6a46 /phpBB/bin | |
parent | fc46dec81397ef0183a91aeba795f65a4d755178 (diff) | |
download | forums-be7e1ba7a0d35a86c4b41ab037e82a3a114108cb.tar forums-be7e1ba7a0d35a86c4b41ab037e82a3a114108cb.tar.gz forums-be7e1ba7a0d35a86c4b41ab037e82a3a114108cb.tar.bz2 forums-be7e1ba7a0d35a86c4b41ab037e82a3a114108cb.tar.xz forums-be7e1ba7a0d35a86c4b41ab037e82a3a114108cb.zip |
[ticket/13740] Use language service in console application
PHPBB3-13740
Diffstat (limited to 'phpBB/bin')
-rwxr-xr-x | phpBB/bin/phpbbcli.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/bin/phpbbcli.php b/phpBB/bin/phpbbcli.php index c847b884e0..18657aed0a 100755 --- a/phpBB/bin/phpbbcli.php +++ b/phpBB/bin/phpbbcli.php @@ -68,7 +68,8 @@ require($phpbb_root_path . 'includes/compatibility_globals.' . $phpEx); $user = $phpbb_container->get('user'); $user->add_lang('acp/common'); $user->add_lang('cli'); +$lang = $phpbb_container->get('language'); -$application = new \phpbb\console\application('phpBB Console', PHPBB_VERSION, $user); +$application = new \phpbb\console\application('phpBB Console', PHPBB_VERSION, $lang); $application->register_container_commands($phpbb_container->get('console.command_collection')); $application->run($input); |