mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-29 18:50:25 +02: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
@ -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