aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/bin
diff options
context:
space:
mode:
authorhubaishan <saeed@hubaishan.com>2017-08-18 20:13:42 +0300
committerhubaishan <saeed@hubaishan.com>2017-08-18 20:13:42 +0300
commitb5e850b6df703a97f654f92cea9143754c3086b8 (patch)
tree89288c235100a3c3a9ac55d2b8672ff3e871aab6 /phpBB/bin
parentce17a5d892b24c8a8d3c2b1f9e36ab8d498920f6 (diff)
downloadforums-b5e850b6df703a97f654f92cea9143754c3086b8.tar
forums-b5e850b6df703a97f654f92cea9143754c3086b8.tar.gz
forums-b5e850b6df703a97f654f92cea9143754c3086b8.tar.bz2
forums-b5e850b6df703a97f654f92cea9143754c3086b8.tar.xz
forums-b5e850b6df703a97f654f92cea9143754c3086b8.zip
[ticket/15317] Fix phpbbcli language
Updated as Nicofuma said PHPBB3-15317
Diffstat (limited to 'phpBB/bin')
-rwxr-xr-xphpBB/bin/phpbbcli.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/bin/phpbbcli.php b/phpBB/bin/phpbbcli.php
index 9d52305c5b..3061fee817 100755
--- a/phpBB/bin/phpbbcli.php
+++ b/phpBB/bin/phpbbcli.php
@@ -73,7 +73,7 @@ register_compatibility_globals();
/** @var \phpbb\language\language $language */
$language = $phpbb_container->get('language');
-$language->set_default_language($config['default_lang']);
+$language->set_default_language($phpbb_container->get('config')['default_lang']);
$language->add_lang(array('common', 'acp/common', 'cli'));
/* @var $user \phpbb\user */