mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Merge pull request #3631 from rxu/ticket/13868
[ticket/13868] Correctly handle acp/mcp/ucp modules lang files for extensions
This commit is contained in:
commit
cc134d5fed
1 changed files with 1 additions and 1 deletions
|
@ -1086,7 +1086,7 @@ class p_master
|
||||||
->core_path('language/' . $user->lang_name . '/mods/')
|
->core_path('language/' . $user->lang_name . '/mods/')
|
||||||
->find();
|
->find();
|
||||||
|
|
||||||
$lang_files = array_unique(array_merge($user_lang_files, $english_lang_files, $default_lang_files));
|
$lang_files = array_merge($english_lang_files, $default_lang_files, $user_lang_files);
|
||||||
foreach ($lang_files as $lang_file => $ext_name)
|
foreach ($lang_files as $lang_file => $ext_name)
|
||||||
{
|
{
|
||||||
$user->add_lang_ext($ext_name, $lang_file);
|
$user->add_lang_ext($ext_name, $lang_file);
|
||||||
|
|
Loading…
Add table
Reference in a new issue