[Config] Fix dumped files invalidation by OPCache
This commit is contained in:
parent
817f594f48
commit
b1290da21b
|
@ -149,6 +149,10 @@ class ConfigCache implements ConfigCacheInterface
|
|||
// discard chmod failure (some filesystem may not support it)
|
||||
}
|
||||
}
|
||||
|
||||
if (\function_exists('opcache_invalidate') && ini_get('opcache.enable')) {
|
||||
@opcache_invalidate($this->file, true);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Reference in New Issue