aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acm/acm_memory.php
diff options
context:
space:
mode:
authorChris Smith <toonarmy@phpbb.com>2009-06-04 15:04:36 +0000
committerChris Smith <toonarmy@phpbb.com>2009-06-04 15:04:36 +0000
commit0cdad21cb38337255761b53513d5626674ab7986 (patch)
tree963732d8b136f7e7283bb023f6b0157d7e4939c0 /phpBB/includes/acm/acm_memory.php
parent2230e325140dd2cc77d273f77d63b4c1afdc4ed5 (diff)
downloadforums-0cdad21cb38337255761b53513d5626674ab7986.tar
forums-0cdad21cb38337255761b53513d5626674ab7986.tar.gz
forums-0cdad21cb38337255761b53513d5626674ab7986.tar.bz2
forums-0cdad21cb38337255761b53513d5626674ab7986.tar.xz
forums-0cdad21cb38337255761b53513d5626674ab7986.zip
Introduce XCache and eAccelerator, make some small changes to the abstract, forgot a period in the command for r9537 :(
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9538 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/acm/acm_memory.php')
-rw-r--r--phpBB/includes/acm/acm_memory.php15
1 files changed, 14 insertions, 1 deletions
diff --git a/phpBB/includes/acm/acm_memory.php b/phpBB/includes/acm/acm_memory.php
index 7875c3441e..a97f680d1e 100644
--- a/phpBB/includes/acm/acm_memory.php
+++ b/phpBB/includes/acm/acm_memory.php
@@ -228,7 +228,7 @@ class acm_memory
{
if ($var_name[0] == '_')
{
- return true;
+ return $this->_isset($var_name);
}
else
{
@@ -398,6 +398,19 @@ class acm_memory
return @unlink($filename);
}
+
+ /**
+ * Check if a cache var exists
+ *
+ * @access protected
+ * @param string $var Cache key
+ * @return bool True if it exists, otherwise false
+ */
+ function _isset($var)
+ {
+ // Most caches don't need to check
+ return true;
+ }
}
?> \ No newline at end of file