From 771d9f21cbcabd06535f1a32846b9fdc23f59df8 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Wed, 14 Jun 2006 17:50:13 +0000 Subject: [PATCH] haha, this is clearly needed. :D git-svn-id: file:///svn/phpbb/trunk@6062 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/install/install_install.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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);