This commit is contained in:
Serghey Rodin 2012-06-30 00:37:48 +03:00
commit c05fb35800
13 changed files with 497 additions and 9 deletions

16
web/delete/ip/index.php Normal file
View 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/");