diff --git a/html/index.php b/html/index.php
index 5889a01e9..7d94d6707 100755
--- a/html/index.php
+++ b/html/index.php
@@ -249,6 +249,17 @@ if(!$vars['bare'] == "yes") {
");
+ print_r($_GET);
+ print_r($vars);
+ echo("");
+}
+
+
if ($_SESSION['authenticated'])
{
## Authenticated. Print a page.
diff --git a/html/pages/device/ports.inc.php b/html/pages/device/ports.inc.php
index e9eb690bf..5e15f00f8 100644
--- a/html/pages/device/ports.inc.php
+++ b/html/pages/device/ports.inc.php
@@ -1,10 +1,5 @@
");
-print_r($_GET);
-print_r($vars);
-echo("");
-
if ($_GET['optc'] == 'graphs')
{
if ($_GET['optd']) { $graph_type = "port_" . $_GET['optd']; } else { $graph_type = "port_bits"; }