mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-09 10:16:36 +02:00
- 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
This commit is contained in:
@@ -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);
|
||||
|
||||
|
@@ -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'];
|
||||
}
|
||||
|
Reference in New Issue
Block a user