aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorMarek A. R <aptx@phpbb.com>2008-06-13 18:12:52 +0000
committerMarek A. R <aptx@phpbb.com>2008-06-13 18:12:52 +0000
commit677e6451c45c2362893f49acf2d5390c0f5dd192 (patch)
tree6d46dd90bb65856725781244b0e4db1490c02a9a /phpBB
parentc44d2edc4a4a9c8740e528cf9e1986469d0aed57 (diff)
downloadforums-677e6451c45c2362893f49acf2d5390c0f5dd192.tar
forums-677e6451c45c2362893f49acf2d5390c0f5dd192.tar.gz
forums-677e6451c45c2362893f49acf2d5390c0f5dd192.tar.bz2
forums-677e6451c45c2362893f49acf2d5390c0f5dd192.tar.xz
forums-677e6451c45c2362893f49acf2d5390c0f5dd192.zip
...
git-svn-id: file:///svn/phpbb/trunk@8654 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/functions_template.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/functions_template.php b/phpBB/includes/functions_template.php
index 88af163233..756331d3fa 100644
--- a/phpBB/includes/functions_template.php
+++ b/phpBB/includes/functions_template.php
@@ -18,7 +18,7 @@ if (!defined('IN_PHPBB'))
/**
* The template filter that does the actual compilation
- * @see tempalte_compile
+ * @see template_compile
*
*/
class template_filter extends php_user_filter
@@ -692,6 +692,7 @@ class template_compile
@stream_copy_to_stream($source_handle, $destination_handle);
@flock($destination_handle, LOCK_UN);
@fclose($destination_handle);
+ @fclose($source_handle);
@chmod($filename, 0666);