mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 18:49:17 -07:00
new and better way to backup - tar without find
This commit is contained in:
parent
c5ea206e5b
commit
5eb10ba388
2 changed files with 11 additions and 24 deletions
|
@ -102,8 +102,9 @@ if (isset($_SESSION['look']) && ( $_SESSION['look'] != 'admin' )) {
|
|||
$user = $_SESSION['look'];
|
||||
}
|
||||
|
||||
get_favorites();
|
||||
|
||||
if (isset($_SESSION['user'])) {
|
||||
get_favorites();
|
||||
}
|
||||
|
||||
function get_favorites(){
|
||||
exec (VESTA_CMD."v-list-user-favourites ".$_SESSION['user']." json", $output, $return_var);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue