aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xphpBB/install/install_install.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/phpBB/install/install_install.php b/phpBB/install/install_install.php
index 192e0a7007..a8c74537f3 100755
--- a/phpBB/install/install_install.php
+++ b/phpBB/install/install_install.php
@@ -1136,10 +1136,16 @@ class install_install extends module
/**
* Populate the module tables
*/
- function add_modules()
+ function add_modules($mode, $sub)
{
global $db, $lang, $phpbb_root_path, $phpEx;
+ // Obtain any submitted data
+ foreach ($this->request_vars as $var)
+ {
+ $$var = request_var($var, '');
+ }
+
include_once($phpbb_root_path . 'includes/constants.' . $phpEx);
include_once($phpbb_root_path . 'includes/acp/acp_modules.' . $phpEx);