Project

General

Profile

« Previous | Next » 

Revision 166c7354

Added by Scott Ullrich over 14 years ago

Echo out server response

View differences:

usr/local/www/crash_reporter.php
102 102
		$files_to_upload = glob("/var/crash/*");
103 103
		echo "<p/>";
104 104
		echo gettext("Uploading...");
105
		echo "<p/>";
106 105
		if(is_array($files_to_upload)) {
107 106
			$resp = upload_crash_report($files_to_upload);
108
			print_r($resp);
109 107
			exec("rm /var/crash/*");
110
			echo gettext("Crash files have been submitted for inspection.");
108
			echo "<p/>";
109
			print_r($resp);
111 110
			echo "<p/><a href='/'>" . gettext("Continue") . "</a>" . gettext(" and delete crash report files.");
112 111
		} else {
113 112
			echo "Could not find any crash files.";

Also available in: Unified diff