Browse Source

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.
mark_story 11 years ago
parent
commit
59c3b73f7a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/Cake/Cache/Engine/ApcEngine.php

+ 1 - 1
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'], '/') . '/',