Fix coding style part 2

This commit is contained in:
Job Snijders
2015-07-13 20:10:26 +02:00
parent ad9590df9b
commit d8693f05ae
733 changed files with 37359 additions and 33947 deletions

View File

@@ -2,27 +2,24 @@
$scale_min = 0;
include("includes/graphs/common.inc.php");
require 'includes/graphs/common.inc.php';
$apache_rrd = $config['rrd_dir'] . "/" . $device['hostname'] . "/app-apache-".$app['app_id'].".rrd";
$apache_rrd = $config['rrd_dir'].'/'.$device['hostname'].'/app-apache-'.$app['app_id'].'.rrd';
if (is_file($apache_rrd))
{
$rrd_filename = $apache_rrd;
if (is_file($apache_rrd)) {
$rrd_filename = $apache_rrd;
}
$ds = "kbyte";
$ds = 'kbyte';
$colour_area = "CDEB8B";
$colour_line = "006600";
$colour_area = 'CDEB8B';
$colour_line = '006600';
$colour_area_max = "FFEE99";
$colour_area_max = 'FFEE99';
$graph_max = 1;
$graph_max = 1;
$multiplier = 8;
$unit_text = "Kbps";
$unit_text = 'Kbps';
include("includes/graphs/generic_simplex.inc.php");
?>
require 'includes/graphs/generic_simplex.inc.php';