mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-13 20:24:08 +02:00
[ticket/13681] Invalidate and reset opcache where necessary
PHPBB3-13681
This commit is contained in:
5
phpBB/phpbb/cache/driver/file.php
vendored
5
phpBB/phpbb/cache/driver/file.php
vendored
@@ -568,6 +568,11 @@ class file extends \phpbb\cache\driver\base
|
||||
|
||||
fclose($handle);
|
||||
|
||||
if (function_exists('opcache_invalidate'))
|
||||
{
|
||||
@opcache_invalidate($file);
|
||||
}
|
||||
|
||||
if (!function_exists('phpbb_chmod'))
|
||||
{
|
||||
global $phpbb_root_path;
|
||||
|
Reference in New Issue
Block a user