mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-21 23:20:24 +00:00
Update Backup.php
This commit is contained in:
parent
57379ac034
commit
6a7bdd523e
1 changed files with 2 additions and 2 deletions
|
@ -286,7 +286,7 @@ class Backup extends Model
|
|||
}
|
||||
|
||||
$shellFileContent .= PHP_EOL;
|
||||
break;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -299,7 +299,7 @@ class Backup extends Model
|
|||
$shellFileContent .= 'echo "Backup complete"' . PHP_EOL;
|
||||
$shellFileContent .= 'touch ' . $backupPath. '/backup.done' . PHP_EOL;
|
||||
$shellFileContent .= 'rm -rf ' . $backupTempScript;
|
||||
|
||||
|
||||
file_put_contents($backupTempScript, $shellFileContent);
|
||||
|
||||
// chmod read and delete by owner only
|
||||
|
|
Loading…
Reference in a new issue