mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
ip pages
This commit is contained in:
parent
36ab1221c2
commit
c05fb35800
13 changed files with 497 additions and 9 deletions
16
web/delete/ip/index.php
Normal file
16
web/delete/ip/index.php
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
// Init
|
||||
error_reporting(NULL);
|
||||
ob_start();
|
||||
session_start();
|
||||
include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
|
||||
|
||||
if ($_SESSION['user'] == 'admin') {
|
||||
if (!empty($_GET['ip'])) {
|
||||
$v_ip = escapeshellarg($_GET['ip']);
|
||||
exec (VESTA_CMD."v_delete_sys_ip ".$v_ip, $output, $return_var);
|
||||
unset($output);
|
||||
}
|
||||
}
|
||||
|
||||
header("Location: /list/ip/");
|
Loading…
Add table
Add a link
Reference in a new issue