mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/13432] Make sure to add language file when including acp_modules
PHPBB3-13432
This commit is contained in:
parent
87578e90eb
commit
9d9c57f334
1 changed files with 1 additions and 0 deletions
|
@ -475,6 +475,7 @@ class module implements \phpbb\db\migration\tool\tool_interface
|
|||
if (!class_exists('acp_modules'))
|
||||
{
|
||||
include($this->phpbb_root_path . 'includes/acp/acp_modules.' . $this->php_ext);
|
||||
$this->user->add_lang('acp/modules');
|
||||
}
|
||||
$acp_modules = new \acp_modules();
|
||||
$module = $acp_modules->get_module_infos($basename, $class, true);
|
||||
|
|
Loading…
Add table
Reference in a new issue