Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib/cache
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-06-22 19:17:55 +0400
committerBart Visscher <bartv@thisnet.nl>2012-06-22 19:21:57 +0400
commitebfc5b2762053960048b4f6a63ddc33482059edd (patch)
tree8606c7584267e408fd2faade175e34ff1b02e036 /lib/cache
parentf655981baf1086243d208f8aa3da8d6e26e32d48 (diff)
Add compatability function for APC cache
Diffstat (limited to 'lib/cache')
-rw-r--r--lib/cache/apc.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/cache/apc.php b/lib/cache/apc.php
index f814afbe494..b1ce87f5267 100644
--- a/lib/cache/apc.php
+++ b/lib/cache/apc.php
@@ -44,3 +44,11 @@ class OC_Cache_APC {
}
}
}
+if(!function_exists('apc_exists')) {
+ function apc_exists($keys)
+ {
+ $result;
+ apc_fetch($keys, $result);
+ return $result;
+ }
+}