mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 08:02:41 +02:00
Apply "Squiz" code style on old (pre-2014) files
This commit is contained in:
@@ -1,21 +1,18 @@
|
||||
<?php
|
||||
|
||||
include("includes/graphs/common.inc.php");
|
||||
require 'includes/graphs/common.inc.php';
|
||||
|
||||
$scale_min = 0;
|
||||
$ds = "stratum";
|
||||
$colour_area = "FFCECE";
|
||||
$colour_line = "880000";
|
||||
$colour_area_max = "FFCCCC";
|
||||
$ds = 'stratum';
|
||||
$colour_area = 'FFCECE';
|
||||
$colour_line = '880000';
|
||||
$colour_area_max = 'FFCCCC';
|
||||
$graph_max = 0;
|
||||
$unit_text = "Stratum";
|
||||
$ntpdserver_rrd = $config['rrd_dir'] . "/" . $device['hostname'] . "/app-ntpdserver-".$app['app_id'].".rrd";
|
||||
$unit_text = 'Stratum';
|
||||
$ntpdserver_rrd = $config['rrd_dir'].'/'.$device['hostname'].'/app-ntpdserver-'.$app['app_id'].'.rrd';
|
||||
|
||||
if (is_file($ntpdserver_rrd))
|
||||
{
|
||||
$rrd_filename = $ntpdserver_rrd;
|
||||
if (is_file($ntpdserver_rrd)) {
|
||||
$rrd_filename = $ntpdserver_rrd;
|
||||
}
|
||||
|
||||
include("includes/graphs/generic_simplex.inc.php");
|
||||
|
||||
?>
|
||||
require 'includes/graphs/generic_simplex.inc.php';
|
||||
|
||||
Reference in New Issue
Block a user