From ebfc5b2762053960048b4f6a63ddc33482059edd Mon Sep 17 00:00:00 2001 From: Bart Visscher Date: Fri, 22 Jun 2012 17:17:55 +0200 Subject: Add compatability function for APC cache --- lib/cache/apc.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib') 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; + } +} -- cgit v1.2.3