mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
Merge remote-tracking branch 'EXreaction/ticket/11395' into develop
# By Nathaniel Guse # Via Nathaniel Guse * EXreaction/ticket/11395: [ticket/11395] Prevent acp_modules::get_modules_info from reincluding files
This commit is contained in:
commit
eb5075c80f
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