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:
Adam Amstrong
2012-05-21 18:17:23 +00:00
parent fcef689504
commit d3796004ae
21 changed files with 596 additions and 2 deletions

View File

@@ -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);