mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
[ticket/10631] Validation for extensions
PHPBB3-10631
This commit is contained in:
committed by
Unknown Bliss
parent
74492b3cdd
commit
8bbab088dd
@@ -683,12 +683,12 @@ function _write_result($no_updates, $errored, $error_ary)
|
||||
|
||||
function _add_modules($modules_to_install)
|
||||
{
|
||||
global $phpbb_root_path, $phpEx, $db, $phpbb_extension_manager;
|
||||
global $phpbb_root_path, $phpEx, $db, $phpbb_extension_manager, $config;
|
||||
|
||||
// modules require an extension manager
|
||||
if (empty($phpbb_extension_manager))
|
||||
{
|
||||
$phpbb_extension_manager = new phpbb_extension_manager($db, EXT_TABLE, $phpbb_root_path, ".$phpEx");
|
||||
$phpbb_extension_manager = new phpbb_extension_manager($db, $config, EXT_TABLE, $phpbb_root_path, ".$phpEx");
|
||||
}
|
||||
|
||||
include_once($phpbb_root_path . 'includes/acp/acp_modules.' . $phpEx);
|
||||
|
Reference in New Issue
Block a user