check_return_code function

This commit is contained in:
Serghey Rodin 2013-10-29 23:12:47 +02:00
commit d0f6d5d65f
19 changed files with 118 additions and 229 deletions

View file

@ -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);
}
}