1
0
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:
David King 2013-03-04 14:42:12 -05:00
commit eb5075c80f

View File

@ -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