mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 23:37:39 +02:00
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:
@@ -405,6 +405,8 @@ class install_install extends module
|
||||
$error['db'][] = $lang['INST_ERR_NO_DB'];
|
||||
}
|
||||
}
|
||||
|
||||
$dbpasswd = html_entity_decode($dbpasswd);
|
||||
|
||||
$connect_test = $this->connect_check_db(true, $error, $dbms, $table_prefix, $dbhost, $dbuser, $dbpasswd, $dbname, $dbport);
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user