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
|
@ -14,6 +14,8 @@ if (empty($_GET['domain'])){
|
|||
unset($output);
|
||||
|
||||
$favorites = $_SESSION['favourites']['MAIL'];
|
||||
|
||||
// render_page($user, $TAB, 'list_mail');
|
||||
} else {
|
||||
exec (VESTA_CMD."v-list-mail-accounts ".$user." ".escapeshellarg($_GET['domain'])." json", $output, $return_var);
|
||||
$data = json_decode(implode('', $output), true);
|
||||
|
@ -21,6 +23,8 @@ if (empty($_GET['domain'])){
|
|||
unset($output);
|
||||
|
||||
$favorites = $_SESSION['favourites']['MAIL_ACC'];
|
||||
|
||||
// render_page($user, $TAB, 'list_mail_acc');
|
||||
}
|
||||
|
||||
$uname_arr=posix_uname();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue