summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/crash_reporter.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/www/crash_reporter.php')
-rw-r--r--src/usr/local/www/crash_reporter.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/usr/local/www/crash_reporter.php b/src/usr/local/www/crash_reporter.php
index 6cd5adc..07ae915 100644
--- a/src/usr/local/www/crash_reporter.php
+++ b/src/usr/local/www/crash_reporter.php
@@ -97,8 +97,7 @@ $crash_report_header .= php_uname("v") . "\n";
$crash_report_header .= "\nCrash report details:\n";
exec("/usr/bin/grep -vi warning /tmp/PHP_errors.log", $php_errors);
-?>
-<?php
+
if ($_POST['Submit'] == "Yes") {
echo gettext("Processing...");
if (!is_dir("/var/crash")) {
OpenPOWER on IntegriCloud