mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
accesspoint support (probably) from ethan sommer (#50)
git-svn-id: http://www.observium.org/svn/observer/trunk@3223 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -65,10 +65,11 @@ if (is_file($config['install_dir'] . "/html/includes/graphs/$type/$subtype.inc.p
|
||||
{
|
||||
include($config['install_dir'] . "/html/includes/graphs/$type/$subtype.inc.php");
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
graph_error("Graph Template Missing");
|
||||
graph_error("$type*$subtype ");//Graph Template Missing");
|
||||
}
|
||||
|
||||
function graph_error($string)
|
||||
@@ -106,6 +107,7 @@ function graph_error($string)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if ($error_msg) {
|
||||
/// We have an error :(
|
||||
|
||||
@@ -141,6 +143,7 @@ if ($error_msg) {
|
||||
unlink($graphfile);
|
||||
echo("</div>");
|
||||
} else {
|
||||
|
||||
if ($rrd_options)
|
||||
{
|
||||
rrdtool_graph($graphfile, $rrd_options);
|
||||
|
Reference in New Issue
Block a user