mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-25 00:32:16 +02:00
Fix coding style part 2
This commit is contained in:
@@ -2,21 +2,18 @@
|
||||
|
||||
$scale_min = 0;
|
||||
|
||||
include("includes/graphs/common.inc.php");
|
||||
require 'includes/graphs/common.inc.php';
|
||||
|
||||
$drbd_rrd = $config['rrd_dir'] . "/" . $device['hostname'] . "/app-drbd-".$app['app_instance'].".rrd";
|
||||
$drbd_rrd = $config['rrd_dir'].'/'.$device['hostname'].'/app-drbd-'.$app['app_instance'].'.rrd';
|
||||
|
||||
if (is_file($drbd_rrd))
|
||||
{
|
||||
$rrd_filename = $drbd_rrd;
|
||||
if (is_file($drbd_rrd)) {
|
||||
$rrd_filename = $drbd_rrd;
|
||||
}
|
||||
|
||||
$ds_in = "dr";
|
||||
$ds_out = "dw";
|
||||
$ds_in = 'dr';
|
||||
$ds_out = 'dw';
|
||||
|
||||
$multiplier = "8";
|
||||
$format = "bytes";
|
||||
$multiplier = '8';
|
||||
$format = 'bytes';
|
||||
|
||||
include("includes/graphs/generic_data.inc.php");
|
||||
|
||||
?>
|
||||
require 'includes/graphs/generic_data.inc.php';
|
||||
|
||||
Reference in New Issue
Block a user