diff options
| author | jove <no@no.com> | 2016-08-31 20:51:09 +0100 |
|---|---|---|
| committer | jove <no@no.com> | 2016-08-31 20:51:09 +0100 |
| commit | f0a625b238ce09a2e5f905ca64f480f38d8ca668 (patch) | |
| tree | 96845a44eb71482f9faf42576a70070e870eb11e /post.php | |
| parent | 77b99b2c4f64b73b062f2d542fbf04903a1d814d (diff) | |
Adds proper fatal error handling and fixes CLI error reporting.
Diffstat (limited to 'post.php')
| -rw-r--r-- | post.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -325,7 +325,7 @@ if (isset($_POST['delete'])) { $post['file_tmp'] = tempnam($config['tmp'], 'url'); function unlink_tmp_file($file) { @unlink($file); - error(); + fatal_error_handler(); } register_shutdown_function('unlink_tmp_file', $post['file_tmp']); |
