diff --git a/lib/cache/apc.php b/lib/cache/apc.php index f814afbe494d748a1e97054be558d89efb7d406a..b1ce87f52671aa388e5db52b4911438b05143740 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; + } +}