diff options
Diffstat (limited to 'lib/cache/apc.php')
-rw-r--r-- | lib/cache/apc.php | 8 |
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; + } +} |