Merge branch '2.8' into 3.3

* 2.8:
  [Config] Fix dumped files invalidation by OPCache
This commit is contained in:
Fabien Potencier 2017-10-04 11:56:58 -07:00
commit 0a963d2b4e

View File

@ -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);
}
}
/**