mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
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.
This commit is contained in:
parent
ffe811935c
commit
59c3b73f7a
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ class ApcEngine extends CacheEngine {
|
||||||
if ($check) {
|
if ($check) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (class_exists('APCIterator')) {
|
if (class_exists('APCIterator', false)) {
|
||||||
$iterator = new APCIterator(
|
$iterator = new APCIterator(
|
||||||
'user',
|
'user',
|
||||||
'/^' . preg_quote($this->settings['prefix'], '/') . '/',
|
'/^' . preg_quote($this->settings['prefix'], '/') . '/',
|
||||||
|
|
Loading…
Reference in a new issue