mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix coding style part 2
This commit is contained in:
@@ -2,26 +2,23 @@
|
||||
|
||||
$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 = "cpu";
|
||||
$ds = 'cpu';
|
||||
|
||||
$colour_area = "F0E68C";
|
||||
$colour_line = "FF4500";
|
||||
$colour_area = 'F0E68C';
|
||||
$colour_line = 'FF4500';
|
||||
|
||||
$colour_area_max = "FFEE99";
|
||||
$colour_area_max = 'FFEE99';
|
||||
|
||||
$graph_max = 1;
|
||||
|
||||
$unit_text = "% Used";
|
||||
$unit_text = '% Used';
|
||||
|
||||
include("includes/graphs/generic_simplex.inc.php");
|
||||
|
||||
?>
|
||||
require 'includes/graphs/generic_simplex.inc.php';
|
||||
|
Reference in New Issue
Block a user