aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_template.php
diff options
context:
space:
mode:
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 94b676a77c..0cdd5d21a3 100644
--- a/phpBB/includes/functions_template.php
+++ b/phpBB/includes/functions_template.php
@@ -722,7 +722,7 @@ class template_compile
@flock($destination_handle, LOCK_UN);
@fclose($destination_handle);
- @chmod($filename, 0666);
+ phpbb_chmod($filename, CHMOD_WRITE);
return true;
}