mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
- fixed a little bug in the (old) installer
git-svn-id: file:///svn/phpbb/trunk@5658 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
1d26f77f8b
commit
8c2dddf0b7
1 changed files with 2 additions and 0 deletions
|
@ -1065,6 +1065,7 @@ if ($stage == 3)
|
|||
include($phpbb_root_path . 'includes/db/' . $dbms . '.' . $phpEx);
|
||||
|
||||
// Instantiate the database
|
||||
$sql_db = 'dbal_' . $dbms;
|
||||
$db = new $sql_db();
|
||||
$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, false);
|
||||
|
||||
|
@ -1407,6 +1408,7 @@ function connect_check_db($error_connect, &$error, &$dbms, &$table_prefix, &$dbh
|
|||
include($phpbb_root_path . 'includes/db/' . $dbms . '.' . $phpEx);
|
||||
|
||||
// Instantiate it and set return on error true
|
||||
$sql_db = 'dbal_' . $dbms;
|
||||
$db = new $sql_db();
|
||||
$db->sql_return_on_error(true);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue