mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 21:38:54 +00:00
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
This commit is contained in:
parent
e6e9618be6
commit
41d3effa19
1 changed files with 3 additions and 1 deletions
|
@ -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
|
|||
}
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
Loading…
Add table
Reference in a new issue