mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 02:28:03 -07:00
replaced underscore with dash in api syscalls
This commit is contained in:
parent
7ed705cee7
commit
b6b7eacadb
283 changed files with 438 additions and 412 deletions
|
@ -8,7 +8,7 @@ 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);
|
||||
exec (VESTA_CMD."v-delete-sys-ip ".$v_ip, $output, $return_var);
|
||||
}
|
||||
if ($return_var != 0) {
|
||||
$error = implode('<br>', $output);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue