aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/common.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/common.php')
-rw-r--r--phpBB/common.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/common.php b/phpBB/common.php
index 91f0d30814..0ce33d20fc 100644
--- a/phpBB/common.php
+++ b/phpBB/common.php
@@ -12,6 +12,8 @@
// says before continuing
die('This software is unsupported in any and all respects. By removing this notice (found in common.php) you are noting your acceptance of this. Do not ask support questions of any kind for this release at either area51.phpbb.com or www.phpbb.com. Support for this version will appear when the beta cycle begins');
+/**
+*/
if (!defined('IN_PHPBB'))
{
exit;
@@ -253,7 +255,7 @@ $user = new user();
$auth = new auth();
$template = new template();
$cache = new acm();
-$db = new sql_db();
+$db = new $sql_db();
// Connect to DB
$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, false);