Browse Source

Upload by URL: still use fatal_error_handler() on shutdown

pull/40/head
Michael Foster 11 years ago
parent
commit
319cd2520f
  1. 1
      post.php

1
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']);

Loading…
Cancel
Save