Change formatting to properly conform to the Coding guidelines.

This commit is contained in:
Aaron Daniels
2015-07-31 06:52:10 +10:00
parent f6ee98ce07
commit a327786835
4 changed files with 8 additions and 12 deletions

View File

@@ -11,12 +11,11 @@
* the source code distribution for details.
*/
include("includes/graphs/common.inc.php");
include "includes/graphs/common.inc.php";
$rrd_options .= " -l 0 -E ";
$rrd_filename = $config['rrd_dir']."/".$device['hostname']."/cisco-dsp.rrd";
if (file_exists($rrd_filename))
{
if (file_exists($rrd_filename)) {
$rrd_options .= " COMMENT:' Cur Min Max\\n'";
$rrd_options .= " DEF:Total=" . $rrd_filename . ":total:AVERAGE ";
$rrd_options .= " AREA:Total#c099ff ";