aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_template.php
diff options
context:
space:
mode:
authorChris Smith <toonarmy@phpbb.com>2008-12-01 16:56:57 +0000
committerChris Smith <toonarmy@phpbb.com>2008-12-01 16:56:57 +0000
commitbe17000b92ba57f95e876aa9ccf550d33a996d52 (patch)
tree96166b3355d0d9c3efacad356979f8857b1ba723 /phpBB/includes/functions_template.php
parentf49fe16766c0e750d9ea746faaa339e3b8046ca9 (diff)
downloadforums-be17000b92ba57f95e876aa9ccf550d33a996d52.tar
forums-be17000b92ba57f95e876aa9ccf550d33a996d52.tar.gz
forums-be17000b92ba57f95e876aa9ccf550d33a996d52.tar.bz2
forums-be17000b92ba57f95e876aa9ccf550d33a996d52.tar.xz
forums-be17000b92ba57f95e876aa9ccf550d33a996d52.zip
Clear the stat cache of cache files after writing them
git-svn-id: file:///svn/phpbb/trunk@9143 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_template.php')
-rw-r--r--phpBB/includes/functions_template.php2
1 files changed, 2 insertions, 0 deletions
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;
}