mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-25 09:00:27 +00:00
Update Backup.php
This commit is contained in:
parent
f8f0460bb9
commit
e1d7d50a1f
1 changed files with 1 additions and 0 deletions
|
@ -256,6 +256,7 @@ class Backup extends Model
|
|||
}
|
||||
}
|
||||
|
||||
// With find, we can search for all files,directories (including hidden) in the current directory and zip them
|
||||
$shellFileContent .= 'cd '.$backupTempPath .' && find . -exec zip -r '.$backupFilePath.' {} \;'. PHP_EOL;
|
||||
|
||||
$shellFileContent .= 'rm -rf '.$backupTempPath.PHP_EOL;
|
||||
|
|
Loading…
Reference in a new issue