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

10 lines
191 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);
2010-08-01 14:17:06 +00:00
$auth = TRUE;
}
2011-03-17 13:35:25 +00:00
?>