mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/14562] Language fallback for extension permissions (3.2.x)
PHPBB3-14562
This commit is contained in:
parent
f9b6086302
commit
1819b64046
1 changed files with 2 additions and 2 deletions
|
@ -2999,8 +2999,8 @@ function add_permission_language()
|
||||||
$lang_files = $finder
|
$lang_files = $finder
|
||||||
->prefix('permissions_')
|
->prefix('permissions_')
|
||||||
->suffix(".$phpEx")
|
->suffix(".$phpEx")
|
||||||
->core_path('language/' . $user->lang_name . '/')
|
->core_path('language/')
|
||||||
->extension_directory('/language/' . $user->lang_name)
|
->extension_directory('/language')
|
||||||
->find();
|
->find();
|
||||||
|
|
||||||
foreach ($lang_files as $lang_file => $ext_name)
|
foreach ($lang_files as $lang_file => $ext_name)
|
||||||
|
|
Loading…
Add table
Reference in a new issue