mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix new billing graph, fix interface links
git-svn-id: http://www.observium.org/svn/observer/trunk@1604 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -9,9 +9,8 @@ if(is_numeric($_GET['id']) && bill_permitted($_GET['id']))
|
||||
WHERE B.bill_id = '".mres($_GET['id'])."' AND P.interface_id = B.port_id
|
||||
AND D.device_id = P.device_id");
|
||||
|
||||
} else {
|
||||
echo("Unauthorised");
|
||||
exit;
|
||||
$auth = TRUE;
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
@@ -103,7 +103,9 @@ if(is_file($config['install_dir'] . "/html/includes/graphs/$type/$subtype.inc.ph
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$fd = fopen($config['install_dir']."/html/images/no-48.png",r);fpassthru($fd);fclose($fd);
|
||||
header('Content-type: image/png');
|
||||
|
||||
$fd = fopen($config['install_dir']."/html/images/no-48.png", "r");fpassthru($fd);fclose($fd);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user