Files
librenms-librenms/html/includes/graphs/device/auth.inc.php
T
2011-05-13 12:49:23 +00:00

11 lines
192 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);
$auth = TRUE;
}
?>