mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-21 13:54:26 -07:00
Updated and improved API respones.
This commit is contained in:
parent
387e6c8e0a
commit
859e65647f
33 changed files with 254 additions and 18 deletions
|
@ -13,11 +13,15 @@ if (empty($_GET['backup'])){
|
|||
$data = json_decode(implode('', $output), true);
|
||||
$data = array_reverse($data,true);
|
||||
unset($output);
|
||||
|
||||
// render_page($user, $TAB, 'list_backup');
|
||||
} else {
|
||||
exec (VESTA_CMD."v-list-user-backup $user ".escapeshellarg($_GET['backup'])." json", $output, $return_var);
|
||||
$data = json_decode(implode('', $output), true);
|
||||
$data = array_reverse($data,true);
|
||||
unset($output);
|
||||
|
||||
// render_page($user, $TAB, 'list_backup_detail');
|
||||
}
|
||||
|
||||
$backup = $_GET['backup'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue