mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/11395] Prevent acp_modules::get_modules_info from reincluding files
PHPBB3-11395
This commit is contained in:
parent
bee4f8d818
commit
9dfc5fbf9a
1 changed files with 2 additions and 2 deletions
|
@ -600,11 +600,11 @@ class acp_modules
|
|||
|
||||
if (!class_exists($info_class))
|
||||
{
|
||||
if (file_exists($directory . $module . '.' . $phpEx))
|
||||
$info_class = $module . '_info';
|
||||
if (!class_exists($info_class) && file_exists($directory . $module . '.' . $phpEx))
|
||||
{
|
||||
include($directory . $module . '.' . $phpEx);
|
||||
}
|
||||
$info_class = $module . '_info';
|
||||
}
|
||||
|
||||
// Get module title tag
|
||||
|
|
Loading…
Add table
Reference in a new issue