From 59c3b73f7aefc55a6676473e83e371de60c38b53 Mon Sep 17 00:00:00 2001 From: mark_story Date: Sun, 22 Jun 2014 21:22:00 -0400 Subject: [PATCH] Skip autoloaders for APCIterator We can skip autoloaders for this class as it is provided by a C extension and will never come from userland code. --- lib/Cake/Cache/Engine/ApcEngine.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Cache/Engine/ApcEngine.php b/lib/Cake/Cache/Engine/ApcEngine.php index 5c154e6d8..301299cc5 100644 --- a/lib/Cake/Cache/Engine/ApcEngine.php +++ b/lib/Cake/Cache/Engine/ApcEngine.php @@ -125,7 +125,7 @@ class ApcEngine extends CacheEngine { if ($check) { return true; } - if (class_exists('APCIterator')) { + if (class_exists('APCIterator', false)) { $iterator = new APCIterator( 'user', '/^' . preg_quote($this->settings['prefix'], '/') . '/',