From be17000b92ba57f95e876aa9ccf550d33a996d52 Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Mon, 1 Dec 2008 16:56:57 +0000 Subject: [PATCH] Clear the stat cache of cache files after writing them git-svn-id: file:///svn/phpbb/trunk@9143 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_template.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/phpBB/includes/functions_template.php b/phpBB/includes/functions_template.php index 71de53b4c4..ee5c7d7b72 100644 --- a/phpBB/includes/functions_template.php +++ b/phpBB/includes/functions_template.php @@ -835,6 +835,8 @@ class template_compile phpbb_chmod($filename, CHMOD_WRITE); + clearstatcache(false, $filename); + return true; }