mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 08:02:41 +02:00
Lots of additions.
git-svn-id: http://www.observium.org/svn/observer/trunk@108 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -1,5 +1,13 @@
|
||||
<?php
|
||||
|
||||
if($_SESSION['userlevel'] < 10) {
|
||||
|
||||
echo("<span class='alert'>You are not permitted to perform this function</span>");
|
||||
exit;
|
||||
|
||||
}
|
||||
|
||||
|
||||
if($_POST['hostname'] && $_POST['community']) {
|
||||
if($_SESSION['userlevel'] > '5') {
|
||||
$hostname = $_POST['hostname'];
|
||||
|
||||
Reference in New Issue
Block a user