diff options
| author | Michael Foster <savetheinternet@tinyboard.org> | 2013-08-27 08:13:23 +1000 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-08-27 08:13:23 +1000 |
| commit | 319cd2520ff18120570e56eba04ceb1206007375 (patch) | |
| tree | 5d86647e9e42cb058d9adf698b5215a0b89f4626 | |
| parent | 00a1841cbc6fb76cd96c51142a3a1b86a073d58a (diff) | |
Upload by URL: still use fatal_error_handler() on shutdown
| -rw-r--r-- | post.php | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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']); |
