mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-21 00:02:18 +02:00
[ticket/14562] Language fallback for extension permissions (3.2.x)
PHPBB3-14562
This commit is contained in:
parent
f9b6086302
commit
1819b64046
@ -2999,8 +2999,8 @@ function add_permission_language()
|
||||
$lang_files = $finder
|
||||
->prefix('permissions_')
|
||||
->suffix(".$phpEx")
|
||||
->core_path('language/' . $user->lang_name . '/')
|
||||
->extension_directory('/language/' . $user->lang_name)
|
||||
->core_path('language/')
|
||||
->extension_directory('/language')
|
||||
->find();
|
||||
|
||||
foreach ($lang_files as $lang_file => $ext_name)
|
||||
|
Loading…
x
Reference in New Issue
Block a user