mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Ajax headers for devices and components
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
header('Content-type: text/plain');
|
||||
|
||||
if(is_admin() === false) {
|
||||
die('ERROR: You need to be admin');
|
||||
|
Reference in New Issue
Block a user