Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@googlemail.com>2014-08-15 13:48:23 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-08-15 13:48:23 +0400
commitfaab1e136068314a612af9b60a6285e478bbefaf (patch)
treef0684ef2eeb65890ce7d33fffe0998bc95aa764e /core
parentfaffbd68b41a00a0e220138285094f517c07778d (diff)
reset wincache opcache if used on windows
Diffstat (limited to 'core')
-rw-r--r--core/Filesystem.php4
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
+ }
}
}