mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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:
@@ -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.
|
||||
|
@@ -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"; }
|
||||
|
Reference in New Issue
Block a user