Files
librenms-librenms/html/includes/graphs/device/auth.inc.php
T

12 lines
230 B
PHP
Raw Normal View History

2010-08-02 16:38:03 +00:00
<?php
2011-03-16 21:59:11 +00:00
if (is_numeric($id) && ($config['allow_unauth_graphs'] || device_permitted($id)))
2010-08-01 14:17:06 +00:00
{
$device = device_by_id_cache($id);
$title = generate_device_link($device);
2011-09-14 13:38:01 +00:00
$graph_title = $device['hostname'];
2010-08-01 14:17:06 +00:00
$auth = TRUE;
}
2011-05-13 12:49:23 +00:00
?>