1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/14124] Automatically translate exceptions in CLI

PHPBB3-14124
This commit is contained in:
Tristan Darricau
2015-08-24 12:04:22 +02:00
parent f6a4843c6d
commit 17e7a89a60
9 changed files with 109 additions and 0 deletions

View File

@@ -71,5 +71,6 @@ $user->add_lang('cli');
$lang = $phpbb_container->get('language');
$application = new \phpbb\console\application('phpBB Console', PHPBB_VERSION, $lang);
$application->setDispatcher($phpbb_container->get('dispatcher'));
$application->register_container_commands($phpbb_container->get('console.command_collection'));
$application->run($input);