From ab98cafe10289a41a007170120638b961e74157d Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Wed, 1 Jun 2011 09:56:32 +0000 Subject: [PATCH] debug git-svn-id: http://www.observium.org/svn/observer/trunk@2381 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/includes/graphs/macaccounting/auth.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/includes/graphs/macaccounting/auth.inc.php b/html/includes/graphs/macaccounting/auth.inc.php index 50f85fd9c..696dfa7d4 100644 --- a/html/includes/graphs/macaccounting/auth.inc.php +++ b/html/includes/graphs/macaccounting/auth.inc.php @@ -20,8 +20,8 @@ if (is_numeric($id)) if(is_file($config['rrd_dir'] . "/" . $acc['hostname'] . "/" . safename("cip-" . $acc['ifIndex'] . "-" . $acc['mac'] . ".rrd"))) { + if($debug) { echo("exists"); } $rrd_filename = $config['rrd_dir'] . "/" . $acc['hostname'] . "/" . safename("cip-" . $acc['ifIndex'] . "-" . $acc['mac'] . ".rrd"); - $port = get_port_by_id($acc['interface_id']); $device = device_by_id_cache($port['device_id']); $title = generate_device_link($device);