diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2011-02-07 12:42:06 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2011-02-07 12:42:06 -0500 |
commit | 166c73546b3b5e2f2528914c0176087160f680e3 (patch) | |
tree | d14d4cc03829d7851643c05fb8cf008adef63fff | |
parent | 4a1ab61871317eb8cb4b1898078a1920eefa976c (diff) | |
download | pfsense-166c73546b3b5e2f2528914c0176087160f680e3.zip pfsense-166c73546b3b5e2f2528914c0176087160f680e3.tar.gz |
Echo out server response
-rwxr-xr-x | usr/local/www/crash_reporter.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr/local/www/crash_reporter.php b/usr/local/www/crash_reporter.php index c75fe72..fb92566 100755 --- a/usr/local/www/crash_reporter.php +++ b/usr/local/www/crash_reporter.php @@ -102,12 +102,11 @@ $crash_report_header .= "\nCrash report details:\n"; $files_to_upload = glob("/var/crash/*"); echo "<p/>"; echo gettext("Uploading..."); - echo "<p/>"; if(is_array($files_to_upload)) { $resp = upload_crash_report($files_to_upload); - print_r($resp); exec("rm /var/crash/*"); - echo gettext("Crash files have been submitted for inspection."); + echo "<p/>"; + print_r($resp); echo "<p/><a href='/'>" . gettext("Continue") . "</a>" . gettext(" and delete crash report files."); } else { echo "Could not find any crash files."; |