mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
autoupdates
This commit is contained in:
parent
83bd13f199
commit
44d907f202
8 changed files with 284 additions and 0 deletions
|
@ -16,6 +16,10 @@ if ($_SESSION['user'] == 'admin') {
|
|||
exec (VESTA_CMD."v-list-sys-vesta-updates json", $output, $return_var);
|
||||
$data = json_decode(implode('', $output), true);
|
||||
unset($output);
|
||||
exec (VESTA_CMD."v-list-sys-vesta-autoupdate plain", $output, $return_var);
|
||||
$autoupdate = $output['0'];
|
||||
unset($output);
|
||||
|
||||
include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/list_updates.html');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue