mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02: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:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Reference in New Issue
Block a user