mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 16:08:55 +02:00
sensors auth file for graphs (no real auth yet)
git-svn-id: http://www.observium.org/svn/observer/trunk@1535 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
$sensor = mysql_fetch_array(mysql_query("SELECT * FROM sensors WHERE sensor_id = '".mres($_GET['id'])."'"));
|
||||
$device = device_by_id_cache($sensor['device_id']);
|
||||
|
||||
## FIXME WE ACTUALLY NEED TO AUTH, OK?
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user