From fdea49e153129159bfed2bcb4794cb6225240bb8 Mon Sep 17 00:00:00 2001 From: Niko Date: Wed, 5 Dec 2018 10:35:37 -0500 Subject: [PATCH] update function name for the cache https://stackoverflow.com/questions/38283791/call-to-undefined-function-apc-clear-cache --- autoload.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload.php b/autoload.php index cb52baeb..6f1cf545 100644 --- a/autoload.php +++ b/autoload.php @@ -24,7 +24,7 @@ class Autoloader { $key = 'lbry-classes-5'; if (ini_get('apc.enabled') && !$reload) { - $classes = apc_fetch($key, $success); + $classes = apcu_fetch($key, $success); if ($success) { static::$classes = $classes; return; @@ -43,7 +43,7 @@ class Autoloader } if (ini_get('apc.enabled')) { - apc_store($key, static::$classes); + apcu_store($key, static::$classes); } }