Upload by URL: still use fatal_error_handler() on shutdown

This commit is contained in:
Michael Foster 2013-08-27 08:13:23 +10:00
parent 00a1841cbc
commit 319cd2520f

View File

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