mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
Challenging routing on render_page
This commit is contained in:
parent
b1d7736612
commit
37fb304942
42 changed files with 64 additions and 62 deletions
|
@ -12,14 +12,14 @@ if (empty($_GET['backup'])){
|
|||
$data = array_reverse($data,true);
|
||||
unset($output);
|
||||
|
||||
render_page($user, $TAB, 'admin/list_backup');
|
||||
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, 'admin/list_backup_detail');
|
||||
render_page($user, $TAB, 'list_backup_detail');
|
||||
}
|
||||
|
||||
// Back uri
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue