aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorMáté Bartus <CHItA@users.noreply.github.com>2017-09-07 14:32:27 +0200
committerGitHub <noreply@github.com>2017-09-07 14:32:27 +0200
commit6c13ca7a1913ba84a74835df3d0a1810d4b5dc0f (patch)
tree201c9269dfb3ac0f2bfff9bd655cf24e0ef284a8 /phpBB
parent24d0b06466babba8d76673305ce90eec553d2b91 (diff)
parentb5e850b6df703a97f654f92cea9143754c3086b8 (diff)
downloadforums-6c13ca7a1913ba84a74835df3d0a1810d4b5dc0f.tar
forums-6c13ca7a1913ba84a74835df3d0a1810d4b5dc0f.tar.gz
forums-6c13ca7a1913ba84a74835df3d0a1810d4b5dc0f.tar.bz2
forums-6c13ca7a1913ba84a74835df3d0a1810d4b5dc0f.tar.xz
forums-6c13ca7a1913ba84a74835df3d0a1810d4b5dc0f.zip
Merge pull request #4908 from hubaishan/ticket/15317
[ticket/15317] Fix phpbbcli language
Diffstat (limited to 'phpBB')
-rwxr-xr-xphpBB/bin/phpbbcli.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/bin/phpbbcli.php b/phpBB/bin/phpbbcli.php
index 6bd217ec07..3061fee817 100755
--- a/phpBB/bin/phpbbcli.php
+++ b/phpBB/bin/phpbbcli.php
@@ -73,6 +73,7 @@ register_compatibility_globals();
/** @var \phpbb\language\language $language */
$language = $phpbb_container->get('language');
+$language->set_default_language($phpbb_container->get('config')['default_lang']);
$language->add_lang(array('common', 'acp/common', 'cli'));
/* @var $user \phpbb\user */