aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/common.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/common.php')
-rw-r--r--phpBB/common.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/common.php b/phpBB/common.php
index 36d0d3377f..767e400cb5 100644
--- a/phpBB/common.php
+++ b/phpBB/common.php
@@ -184,7 +184,8 @@ $user = new user();
$auth = new auth();
$cache = new acm();
$template = new template();
-$db = new sql_db($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, false);
+$db = new sql_db();
+$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, false);
// Grab global variables, re-cache if necessary
if ($config = $cache->get('config'))