aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_template.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2008-08-16 19:06:18 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2008-08-16 19:06:18 +0000
commit068096531f297d188afea88190cd838ccae662cb (patch)
tree7109437c35b6fefaf83525969afbb720e314e9c6 /phpBB/includes/functions_template.php
parentda65cd13974a42fe5a551a0b66cb3f3a6db6dcf4 (diff)
downloadforums-068096531f297d188afea88190cd838ccae662cb.tar
forums-068096531f297d188afea88190cd838ccae662cb.tar.gz
forums-068096531f297d188afea88190cd838ccae662cb.tar.bz2
forums-068096531f297d188afea88190cd838ccae662cb.tar.xz
forums-068096531f297d188afea88190cd838ccae662cb.zip
the chmod change i already had within the changelog (by mistake). This should further secure writable directories and created files.
Installation need to be tested on different hosts. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8763 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_template.php')
-rw-r--r--phpBB/includes/functions_template.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_template.php b/phpBB/includes/functions_template.php
index fef5b76fe1..26a309f8c5 100644
--- a/phpBB/includes/functions_template.php
+++ b/phpBB/includes/functions_template.php
@@ -755,7 +755,7 @@ class template_compile
@flock($fp, LOCK_UN);
@fclose($fp);
- @chmod($filename, 0666);
+ phpbb_chmod($filename, 'rwrite');
}
return;