1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

Fix some issues with XCache, can't totally resolve the purge() method as XCache does not expose its settings to userland PHP. #46435

git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9579 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Chris Smith
2009-06-13 13:14:27 +00:00
parent 290893c3a7
commit 75ae7aee97
2 changed files with 22 additions and 4 deletions

View File

@@ -39,7 +39,7 @@ class acm_memory
global $phpbb_root_path, $dbname, $table_prefix;
$this->cache_dir = $phpbb_root_path . 'cache/';
$this->key_prefix = md5($dbname, $table_prefix) . '_';
$this->key_prefix = substr(md5($dbname . $table_prefix), 0, 8) . '_';
if (!isset($this->extension) || !extension_loaded($this->extension))
{