From 8dfd9dd7a19bf1a2666b032f5a8e0557de59cf05 Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Thu, 15 Sep 2011 21:18:57 +0000 Subject: [PATCH] remove URL debugging. debug URL only when told to. git-svn-id: http://www.observium.org/svn/observer/trunk@2470 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/index.php | 11 +++++++++++ html/pages/device/ports.inc.php | 5 ----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/html/index.php b/html/index.php index 5889a01e91..7d94d67071 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 e9eb690bf6..5e15f00f8e 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"; }