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
This commit is contained in:
Adam Amstrong
2011-09-15 21:18:57 +00:00
parent 51224f7608
commit 8dfd9dd7a1
2 changed files with 11 additions and 5 deletions

View File

@@ -249,6 +249,17 @@ if(!$vars['bare'] == "yes") {
<div id="content" style="border: 1px none #ccc; min-height:650px;">
<div style="margin: 7px;"></div>
<?php
### To help debug the new URLs :)
if($devel || $vars['devel'])
{
echo("<pre>");
print_r($_GET);
print_r($vars);
echo("</pre>");
}
if ($_SESSION['authenticated'])
{
## Authenticated. Print a page.

View File

@@ -1,10 +1,5 @@
<?php
echo("<pre>");
print_r($_GET);
print_r($vars);
echo("</pre>");
if ($_GET['optc'] == 'graphs')
{
if ($_GET['optd']) { $graph_type = "port_" . $_GET['optd']; } else { $graph_type = "port_bits"; }