mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
remove the last usage of config variables outside of the $config array ($rrd_file) + fixed adduser script
git-svn-id: http://www.observium.org/svn/observer/trunk@354 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -24,7 +24,7 @@ if($_GET['type']) {
|
||||
|
||||
echo("</td></tr><tr bgcolor='$bg'><td>");
|
||||
|
||||
if(file_exists($rrd_dir . "/" . $interface['hostname'] . "/" . $interface['ifIndex'] . ".rrd")) {
|
||||
if(file_exists($config['rrd_dir'] . "/" . $interface['hostname'] . "/" . $interface['ifIndex'] . ".rrd")) {
|
||||
|
||||
$graph_type = "bits";
|
||||
include("includes/print-interface-graphs.php");
|
||||
|
||||
Reference in New Issue
Block a user