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

12 lines
281 B
PHP
Raw Normal View History

2010-08-02 16:38:03 +00:00
<?php
2010-08-01 14:17:06 +00:00
2011-03-17 14:27:03 +00:00
if (is_numeric($id) && ($config['allow_unauth_graphs'] || application_permitted($id)))
2010-08-01 14:17:06 +00:00
{
$app = get_application_by_id($id);
$device = device_by_id_cache($app['device_id']);
$title = generate_device_link($device);
2010-08-01 14:17:06 +00:00
$title .= $graph_subtype;
$auth = TRUE;
}
2011-03-17 14:27:03 +00:00
?>