aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/common.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2003-08-06 18:29:22 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2003-08-06 18:29:22 +0000
commit4a75a2512b356752e6539784105371266bed201d (patch)
tree3999d2722e2b1fe5e6d23ecadb999cde77e60aa7 /phpBB/common.php
parent5ab81af82e3a3c540281572dc0976f60d4bf4d04 (diff)
downloadforums-4a75a2512b356752e6539784105371266bed201d.tar
forums-4a75a2512b356752e6539784105371266bed201d.tar.gz
forums-4a75a2512b356752e6539784105371266bed201d.tar.bz2
forums-4a75a2512b356752e6539784105371266bed201d.tar.xz
forums-4a75a2512b356752e6539784105371266bed201d.zip
Guess this may come in handy
git-svn-id: file:///svn/phpbb/trunk@4345 89ea8834-ac86-4346-8a33-228a782c2dd0
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 50d96213f6..1119fb0ca6 100644
--- a/phpBB/common.php
+++ b/phpBB/common.php
@@ -169,6 +169,7 @@ define('SESSIONS_TABLE', $table_prefix.'sessions');
define('SMILIES_TABLE', $table_prefix.'smilies');
define('STYLES_TABLE', $table_prefix.'styles');
define('STYLES_TPL_TABLE', $table_prefix.'styles_template');
+define('STYLES_TPLDATA_TABLE', $table_prefix.'styles_template_data');
define('STYLES_CSS_TABLE', $table_prefix.'styles_theme');
define('STYLES_IMAGE_TABLE', $table_prefix.'styles_imageset');
define('TOPICS_TABLE', $table_prefix.'topics');
@@ -188,12 +189,13 @@ 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'))
{