diff options
author | Nathan Guse <nathaniel.guse@gmail.com> | 2012-07-23 15:17:42 -0500 |
---|---|---|
committer | Unknown Bliss <m@michaelcullum.com> | 2012-09-01 15:05:23 +0100 |
commit | 8bbab088dd5830d8dd1151a3684dde5c197ba268 (patch) | |
tree | 6dce9ae98ac0483d01ca9b82c9d915b48fb8fec7 /phpBB/install/database_update.php | |
parent | 74492b3cdda9538263484a6f2a2042ac1900228a (diff) | |
download | forums-8bbab088dd5830d8dd1151a3684dde5c197ba268.tar forums-8bbab088dd5830d8dd1151a3684dde5c197ba268.tar.gz forums-8bbab088dd5830d8dd1151a3684dde5c197ba268.tar.bz2 forums-8bbab088dd5830d8dd1151a3684dde5c197ba268.tar.xz forums-8bbab088dd5830d8dd1151a3684dde5c197ba268.zip |
[ticket/10631] Validation for extensions
PHPBB3-10631
Diffstat (limited to 'phpBB/install/database_update.php')
-rw-r--r-- | phpBB/install/database_update.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php index 502b3bb1a4..0b470ced26 100644 --- a/phpBB/install/database_update.php +++ b/phpBB/install/database_update.php @@ -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); |