diff options
author | Thomas Steur <thomas.steur@googlemail.com> | 2014-08-15 13:48:23 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@googlemail.com> | 2014-08-15 13:48:23 +0400 |
commit | faab1e136068314a612af9b60a6285e478bbefaf (patch) | |
tree | f0684ef2eeb65890ce7d33fffe0998bc95aa764e /core | |
parent | faffbd68b41a00a0e220138285094f517c07778d (diff) |
reset wincache opcache if used on windows
Diffstat (limited to 'core')
-rw-r--r-- | core/Filesystem.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/Filesystem.php b/core/Filesystem.php index 2306c8c131..6d4dcea677 100644 --- a/core/Filesystem.php +++ b/core/Filesystem.php @@ -383,6 +383,10 @@ class Filesystem if (function_exists('opcache_reset')) { @opcache_reset(); // reset the opcode cache (php 5.5.0+) } + + if (function_exists('wincache_refresh_if_changed')) { + @wincache_refresh_if_changed(); // reset the wincache + } } } |