aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/common.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/common.php b/phpBB/common.php
index 1119fb0ca6..f4e0ff0c2a 100644
--- a/phpBB/common.php
+++ b/phpBB/common.php
@@ -189,13 +189,12 @@ set_error_handler('msg_handler');
$user = new user();
$auth = new auth();
$cache = new acm();
+$template = new template();
$db = new sql_db();
// Connect to DB
$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, false);
-$template = new template($db);
-
// Grab global variables, re-cache if necessary
if ($config = $cache->get('config'))
{