diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2006-11-21 18:15:53 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-11-21 18:15:53 +0000 |
commit | ab9ec8064acb25d09d6d0edb93ecbe3b59541010 (patch) | |
tree | 3ffb1cd5767a69f850daba6277f5cf93b91f1d9d /phpBB/install | |
parent | 5be570b1f06f342a7f217679d102cdb7724905cf (diff) | |
download | forums-ab9ec8064acb25d09d6d0edb93ecbe3b59541010.tar forums-ab9ec8064acb25d09d6d0edb93ecbe3b59541010.tar.gz forums-ab9ec8064acb25d09d6d0edb93ecbe3b59541010.tar.bz2 forums-ab9ec8064acb25d09d6d0edb93ecbe3b59541010.tar.xz forums-ab9ec8064acb25d09d6d0edb93ecbe3b59541010.zip |
- fixing a bunch of bugs
- moved the install trigger error to sessions and also disabled it for those having DEBUG_EXTRA enabled.
i hope not having introduced too many new bugs.
git-svn-id: file:///svn/phpbb/trunk@6628 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install')
-rwxr-xr-x | phpBB/install/index.php | 2 | ||||
-rwxr-xr-x | phpBB/install/install_install.php | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/phpBB/install/index.php b/phpBB/install/index.php index eaa0ff12d4..bd8ae095a3 100755 --- a/phpBB/install/index.php +++ b/phpBB/install/index.php @@ -291,7 +291,7 @@ class module $module = $this->filename; if (!class_exists($module)) { - $this->error('Module not accessible', __LINE__, __FILE__); + $this->error('Module "' . htmlspecialchars($module) . '" not accessible.', __LINE__, __FILE__); } $this->module = new $module($this); diff --git a/phpBB/install/install_install.php b/phpBB/install/install_install.php index f4cba1be24..a78ed995af 100755 --- a/phpBB/install/install_install.php +++ b/phpBB/install/install_install.php @@ -575,12 +575,15 @@ class install_install extends module $default_lang = ($default_lang !== '') ? $default_lang : $language; + $board_email1 = strtolower($board_email1); + $board_email2 = strtolower($board_email2); + if (isset($_POST['check'])) { $error = array(); // Check the entered email address and password - if ($admin_name == '' || $admin_pass1 == '' || $admin_pass2 == '' || $board_email1 == '' || $board_email2 =='') + if ($admin_name == '' || $admin_pass1 == '' || $admin_pass2 == '' || $board_email1 == '' || $board_email2 == '') { $error[] = $lang['INST_ERR_MISSING_DATA']; } |