diff --git a/post.php b/post.php index 2450bf06..6de3edfa 100644 --- a/post.php +++ b/post.php @@ -288,6 +288,7 @@ if (isset($_POST['delete'])) { $post['file_tmp'] = tempnam($config['tmp'], 'url'); function unlink_tmp_file($file) { @unlink($file); + fatal_error_handler(); } register_shutdown_function('unlink_tmp_file', $post['file_tmp']);