summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/crash_reporter.php
diff options
context:
space:
mode:
authorNewEraCracker <neweracracker@gmail.com>2016-02-10 09:14:57 +0000
committerNewEraCracker <neweracracker@gmail.com>2016-02-10 09:14:57 +0000
commita153c6d1c85149e5ced19bea7c7d1eccfd9ae24a (patch)
tree7544def7ffe087ec9426476e1f9322db4bfacb01 /src/usr/local/www/crash_reporter.php
parent287df967fb3bde7e0514ab78a9e4e53e6fbe4415 (diff)
downloadpfsense-a153c6d1c85149e5ced19bea7c7d1eccfd9ae24a.zip
pfsense-a153c6d1c85149e5ced19bea7c7d1eccfd9ae24a.tar.gz
Cleanup
Remove closing tag followed by opening tag. Change short_open_tag to full tag and put small instructions on same line.
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