From 319cd2520ff18120570e56eba04ceb1206007375 Mon Sep 17 00:00:00 2001 From: Michael Foster Date: Tue, 27 Aug 2013 08:13:23 +1000 Subject: [PATCH] Upload by URL: still use fatal_error_handler() on shutdown --- post.php | 1 + 1 file changed, 1 insertion(+) 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']);