Merge branch '2.7' into 2.8
* 2.7: [Config] Fix dumped files invalidation by OPCache
This commit is contained in:
commit
8f41e336f2
@ -150,6 +150,10 @@ class ResourceCheckerConfigCache implements ConfigCacheInterface
|
|||||||
// discard chmod failure (some filesystem may not support it)
|
// 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