diff options
author | David M <davidmj@users.sourceforge.net> | 2008-07-28 01:16:47 +0000 |
---|---|---|
committer | David M <davidmj@users.sourceforge.net> | 2008-07-28 01:16:47 +0000 |
commit | 41d3effa19ce1ed4db44407c8c6851045b18cff9 (patch) | |
tree | 209bb17fa173696c24f6c4a0a65c8378998382e0 /phpBB | |
parent | e6e9618be678180083bece4c6342c103a5057b4a (diff) | |
download | forums-41d3effa19ce1ed4db44407c8c6851045b18cff9.tar forums-41d3effa19ce1ed4db44407c8c6851045b18cff9.tar.gz forums-41d3effa19ce1ed4db44407c8c6851045b18cff9.tar.bz2 forums-41d3effa19ce1ed4db44407c8c6851045b18cff9.tar.xz forums-41d3effa19ce1ed4db44407c8c6851045b18cff9.zip |
Added the locking code back in... Marek, feel free to reorder it as you see fit.
git-svn-id: file:///svn/phpbb/trunk@8687 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/includes/functions_template.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/includes/functions_template.php b/phpBB/includes/functions_template.php index 74f5311dff..31cee929b2 100644 --- a/phpBB/includes/functions_template.php +++ b/phpBB/includes/functions_template.php @@ -738,6 +738,8 @@ class template_compile } stream_filter_append($source_handle, 'template'); + + @flock($destination_handle); stream_copy_to_stream($source_handle, $destination_handle); @fclose($source_handle); @@ -773,4 +775,4 @@ class template_compile } } -?>
\ No newline at end of file +?> |