mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
deleting the constructor means refining the init call. ;)
git-svn-id: file:///svn/phpbb/trunk@4120 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -576,7 +576,8 @@ else
|
||||
include($phpbb_root_path . 'includes/db/' . $dbms . '.' . $phpEx);
|
||||
|
||||
// Instantiate the database
|
||||
$db = new sql_db($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, false);
|
||||
$db = new sql_db();
|
||||
$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, false);
|
||||
|
||||
// Load the appropriate schema and basic data
|
||||
$dbms_schema = 'schemas/' . $available_dbms[$dbms]['SCHEMA'] . '_schema.sql';
|
||||
|
Reference in New Issue
Block a user