mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
check_return_code function
This commit is contained in:
parent
3cb02aec9d
commit
d0f6d5d65f
19 changed files with 118 additions and 229 deletions
|
@ -13,6 +13,7 @@ if ($_SESSION['user'] == 'admin') {
|
|||
$v_username = escapeshellarg($user);
|
||||
$v_database = escapeshellarg($_GET['database']);
|
||||
exec (VESTA_CMD."v-unsuspend-database ".$v_username." ".$v_database, $output, $return_var);
|
||||
check_return_code($return_var,$output);
|
||||
unset($output);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue