aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/common.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2003-06-13 16:45:07 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2003-06-13 16:45:07 +0000
commitfc82dab423007ff9237033229acf88778537c0b7 (patch)
treecab8c92312b296d5911bdf44606dedb2775eb53b /phpBB/common.php
parentdee0f40fd2b27f441c2f4b60382c7985b9f0789d (diff)
downloadforums-fc82dab423007ff9237033229acf88778537c0b7.tar
forums-fc82dab423007ff9237033229acf88778537c0b7.tar.gz
forums-fc82dab423007ff9237033229acf88778537c0b7.tar.bz2
forums-fc82dab423007ff9237033229acf88778537c0b7.tar.xz
forums-fc82dab423007ff9237033229acf88778537c0b7.zip
deleting the constructor means refining the init call. ;)
git-svn-id: file:///svn/phpbb/trunk@4120 89ea8834-ac86-4346-8a33-228a782c2dd0
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'))