summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNOYB <Al_Stu@Frontier.com>2016-03-21 00:19:12 -0700
committerNOYB <Al_Stu@Frontier.com>2016-03-21 00:19:12 -0700
commit0e61f4b1b96ab441df93b979afcdf9e2a309211c (patch)
treeb796b90450b6a2840e527074d56e7e44feae72c3
parentd3f3b75f1a1a7428600c078540a8ea46cb70f475 (diff)
downloadpfsense-0e61f4b1b96ab441df93b979afcdf9e2a309211c.zip
pfsense-0e61f4b1b96ab441df93b979afcdf9e2a309211c.tar.gz
HTML Compliance - Diagnostics / Test Port
Error: Start tag seen without seeing a doctype first. Expected e.g. <!DOCTYPE html>. Error: Stray doctype. Error: Stray start tag html. Fatal Error: Cannot recover after last error. Any further errors will be ignored.
-rw-r--r--src/usr/local/www/diag_testport.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/diag_testport.php b/src/usr/local/www/diag_testport.php
index 763742a..d40960d 100644
--- a/src/usr/local/www/diag_testport.php
+++ b/src/usr/local/www/diag_testport.php
@@ -71,6 +71,8 @@ $allowautocomplete = true;
$pgtitle = array(gettext("Diagnostics"), gettext("Test Port"));
require("guiconfig.inc");
+include("head.inc");
+
define('NC_TIMEOUT', 10);
$do_testport = false;
$retval = 1;
@@ -216,8 +218,6 @@ if ($_POST || $_REQUEST['host']) {
}
}
-include("head.inc");
-
// Handle the display of all messages here where the user can readily see them
if ($input_errors) {
print_input_errors($input_errors);
OpenPOWER on IntegriCloud