aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acm/acm_memcache.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/acm/acm_memcache.php')
-rw-r--r--phpBB/includes/acm/acm_memcache.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/acm/acm_memcache.php b/phpBB/includes/acm/acm_memcache.php
index 0544d23996..b22205578e 100644
--- a/phpBB/includes/acm/acm_memcache.php
+++ b/phpBB/includes/acm/acm_memcache.php
@@ -91,7 +91,7 @@ class acm extends acm_memory
*/
function _read($var)
{
- return $this->memcache->get($var);
+ return $this->memcache->get($this->key_prefix . $var);
}
/**
@@ -105,7 +105,7 @@ class acm extends acm_memory
*/
function _write($var, $data, $ttl = 2592000)
{
- return $this->memcache->set($var, $data, $this->flags, $ttl);
+ return $this->memcache->set($this->key_prefix . $var, $data, $this->flags, $ttl);
}
/**
@@ -117,7 +117,7 @@ class acm extends acm_memory
*/
function _delete($var)
{
- return $this->memcache->delete($var);
+ return $this->memcache->delete($this->key_prefix . $var);
}
}