aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/common.php
diff options
context:
space:
mode:
authorLudovic Arnaud <ludovic_arnaud@users.sourceforge.net>2003-08-10 19:46:03 +0000
committerLudovic Arnaud <ludovic_arnaud@users.sourceforge.net>2003-08-10 19:46:03 +0000
commit2ada6c5380b6cf999791bc1955e15570da475c17 (patch)
tree8f92b5b9aa9f93953cf26f81824566242832e46d /phpBB/common.php
parent772cc44895610fb62ce118e119353eef3df7355d (diff)
downloadforums-2ada6c5380b6cf999791bc1955e15570da475c17.tar
forums-2ada6c5380b6cf999791bc1955e15570da475c17.tar.gz
forums-2ada6c5380b6cf999791bc1955e15570da475c17.tar.bz2
forums-2ada6c5380b6cf999791bc1955e15570da475c17.tar.xz
forums-2ada6c5380b6cf999791bc1955e15570da475c17.zip
Added support for db-based caching... for people who like to store data in databases.
git-svn-id: file:///svn/phpbb/trunk@4368 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 f4e0ff0c2a..bd0b843673 100644
--- a/phpBB/common.php
+++ b/phpBB/common.php
@@ -139,6 +139,7 @@ define('ACL_USERS_TABLE', $table_prefix.'auth_users');
define('ATTACHMENTS_TABLE', $table_prefix.'attachments');
define('ATTACHMENTS_DESC_TABLE', $table_prefix.'attach_desc');
define('BANLIST_TABLE', $table_prefix.'banlist');
+define('CACHE_TABLE', $table_prefix.'cache');
define('CONFIG_TABLE', $table_prefix.'config');
define('CONFIRM_TABLE', $table_prefix.'confirm');
define('DISALLOW_TABLE', $table_prefix.'disallow'); //
@@ -188,9 +189,9 @@ set_error_handler('msg_handler');
// Instantiate some basic classes
$user = new user();
$auth = new auth();
-$cache = new acm();
$template = new template();
$db = new sql_db();
+$cache = new acm($db);
// Connect to DB
$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, false);