9 lines
260 B
PHP
Raw Normal View History

<?php
2015-07-15 20:46:04 +01:00
if (is_numeric($vars['device']) && ($auth || device_permitted($vars['src']))) {
$device = device_by_id_cache($vars['device']);
$title = generate_device_link($device);
$graph_title = $device['hostname'];
$auth = true;
}