2012-05-11 13:26:14 +00:00

14 lines
264 B
PHP

<?php
foreach (dbFetchRows("SELECT * FROM `devices` WHERE `location` = ?", array($vars['id'])) as $device)
{
if ($config['allow_unauth_graphs'] || device_permitted($device_id))
{
$devices[] = $device;
$title = $vars['id'];
$auth = TRUE;
}
}
?>