mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 12:03:21 +01:00
[ticket/11395] Prevent acp_modules::get_modules_info from reincluding files
PHPBB3-11395
This commit is contained in:
parent
bee4f8d818
commit
9dfc5fbf9a
@ -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…
x
Reference in New Issue
Block a user