librenms/html/includes/graphs/smokeping/auth.inc.php
Adam Amstrong a60c0fd561 more smokeping
git-svn-id: http://www.observium.org/svn/observer/trunk@2704 61d68cd4-352d-0410-923a-c4978735b2b8
2011-10-28 18:29:22 +00:00

12 lines
230 B
PHP

<?php
if (is_numeric($id) && ($config['allow_unauth_graphs'] || device_permitted($id)))
{
$device = device_by_id_cache($id);
$title = generate_device_link($device);
$graph_title = $device['hostname'];
$auth = TRUE;
}
?>