1
0
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:
Marc Alexander
2016-02-18 19:03:56 +01:00
parent 17e21d5140
commit bd12427fd4
3 changed files with 20 additions and 0 deletions

View File

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