Merge branch '2.8' into 3.3
* 2.8: [Config] Fix dumped files invalidation by OPCache
This commit is contained in:
commit
0a963d2b4e
@ -150,6 +150,10 @@ class ResourceCheckerConfigCache 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
Block a user