diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-04-13 21:02:02 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-04-13 21:02:02 +0000 |
commit | 3bc6635dabb0e9e2f680793c7de04db4d1a87eca (patch) | |
tree | 4b6e965d621aa145a45549059c2f8457f91591b4 /usr/local | |
parent | e15abfedcb65fae481b882f9b404ef607a119459 (diff) | |
download | pfsense-3bc6635dabb0e9e2f680793c7de04db4d1a87eca.zip pfsense-3bc6635dabb0e9e2f680793c7de04db4d1a87eca.tar.gz |
MFC remove debugging code
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/status_rrd_graph.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/status_rrd_graph.php b/usr/local/www/status_rrd_graph.php index 62817c0..948eb03 100755 --- a/usr/local/www/status_rrd_graph.php +++ b/usr/local/www/status_rrd_graph.php @@ -350,12 +350,12 @@ else /* check modification time to see if we need to generate image */ if (file_exists("$rrddbpath$curif-$interval-$curgraph.png")) { - if((time() - filemtime("$rrddbpath$curif-$interval-$curgraph.png")) >= 60 ) { - system("$graphcmd 2>&1"); + if((time() - filemtime("$rrddbpath$curif-$interval-$curgraph.png")) >= 280 ) { + system("$graphcmd >/dev/null"); usleep(500); } } else { - system("$graphcmd 2>&1"); + system("$graphcmd >/dev/null"); usleep(500); } |