1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-10-04 11:41:38 +02:00

Merge branch '3.1.x' into 3.2.x

* 3.1.x:
  [ticket/13681] Invalidate and reset opcache where necessary
This commit is contained in:
Tristan Darricau
2016-02-18 22:00:10 +01:00
3 changed files with 20 additions and 0 deletions

View File

@@ -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);