SOme changes to handle special characters in the database password

git-svn-id: file:///svn/phpbb/trunk@6132 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Graham Eames 2006-06-30 20:17:55 +00:00
parent ee8a9a6135
commit 30563df345

View file

@ -406,6 +406,8 @@ class install_install extends module
}
}
$dbpasswd = html_entity_decode($dbpasswd);
$connect_test = $this->connect_check_db(true, $error, $dbms, $table_prefix, $dbhost, $dbuser, $dbpasswd, $dbname, $dbport);
$template->assign_block_vars('checks', array(
@ -717,6 +719,7 @@ class install_install extends module
}
}
$dbpasswd = html_entity_decode($dbpasswd);
$load_extensions = implode(',', $load_extensions);
// Time to convert the data provided into a config file
@ -934,6 +937,8 @@ class install_install extends module
@dl($this->available_dbms[$dbms]['MODULE'] . ".$prefix");
}
$dbpasswd = html_entity_decode($dbpasswd);
// Load the appropriate database class if not already loaded
include($phpbb_root_path . 'includes/db/' . $dbms . '.' . $phpEx);
@ -1193,6 +1198,8 @@ class install_install extends module
$$var = request_var($var, '');
}
$dbpasswd = html_entity_decode($dbpasswd);
// Load the appropriate database class if not already loaded
include($phpbb_root_path . 'includes/db/' . $dbms . '.' . $phpEx);