diff --git a/core/rebuild.php b/core/rebuild.php index ee4ceb2..36da7e2 100644 --- a/core/rebuild.php +++ b/core/rebuild.php @@ -21,7 +21,7 @@ chdir('..'); // Clear the APCu cache to ensure APC classloader is reset. -if (function_exists('apcu_enabled') && apcu_enabled()) { +if (extension_loaded('apcu') && function_exists('apc_fetch')) { apc_clear_cache(); }