1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 03:54:10 +01:00

[ticket/11395] Prevent acp_modules::get_modules_info from reincluding files

PHPBB3-11395
This commit is contained in:
Nathaniel Guse 2013-03-03 20:47:14 -06:00
parent bee4f8d818
commit 9dfc5fbf9a

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