initial commit; version 22.5.12042

This commit is contained in:
2022-12-12 23:28:25 -05:00
commit af1b03d79f
17653 changed files with 22692970 additions and 0 deletions

View File

@ -0,0 +1,28 @@
<?php
/**
* Observium
*
* This file is part of Observium.
*
* @package observium
* @subpackage graphs
* @copyright (C) 2006-2013 Adam Armstrong, (C) 2013-2019 Observium Limited
*
*/
// FIXME : bit hacky, I think.
if($vars['id'] == OBS_VAR_UNSET) { $vars['id'] = ''; }
foreach (dbFetchRows("SELECT * FROM `devices` WHERE `location` = ?", array($vars['id'])) as $device)
{
if ($auth || device_permitted($device_id))
{
$devices[] = $device;
$title = $vars['id'];
$auth = TRUE;
}
}
?>