diff options
author | Tristan Darricau <tristan.darricau@sensiolabs.com> | 2016-02-18 22:00:29 +0100 |
---|---|---|
committer | Tristan Darricau <tristan.darricau@sensiolabs.com> | 2016-02-18 22:00:29 +0100 |
commit | ec00fc85e0b141ac4edd13e6af31d01aa1d4fa5d (patch) | |
tree | ea051e66e5ce6955c72f1b8c2b44bdb0ca29c972 /phpBB/phpbb/cache/driver/file.php | |
parent | c485312d384b450b057b08b0002d9e3fc3013ca8 (diff) | |
parent | b7deef46ac2f49b310d05d94067607e8f19c0817 (diff) | |
download | forums-ec00fc85e0b141ac4edd13e6af31d01aa1d4fa5d.tar forums-ec00fc85e0b141ac4edd13e6af31d01aa1d4fa5d.tar.gz forums-ec00fc85e0b141ac4edd13e6af31d01aa1d4fa5d.tar.bz2 forums-ec00fc85e0b141ac4edd13e6af31d01aa1d4fa5d.tar.xz forums-ec00fc85e0b141ac4edd13e6af31d01aa1d4fa5d.zip |
Merge branch '3.2.x'
* 3.2.x:
[ticket/13681] Invalidate and reset opcache where necessary
Diffstat (limited to 'phpBB/phpbb/cache/driver/file.php')
-rw-r--r-- | phpBB/phpbb/cache/driver/file.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/phpbb/cache/driver/file.php b/phpBB/phpbb/cache/driver/file.php index bb055d3acf..d994394249 100644 --- a/phpBB/phpbb/cache/driver/file.php +++ b/phpBB/phpbb/cache/driver/file.php @@ -574,6 +574,11 @@ class file extends \phpbb\cache\driver\base fclose($handle); + if (function_exists('opcache_invalidate')) + { + @opcache_invalidate($this->cache_file); + } + try { $this->filesystem->phpbb_chmod($file, CHMOD_READ | CHMOD_WRITE); |