mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-22 07:30:25 +00:00
Update Backup.php
This commit is contained in:
parent
e90c6dca01
commit
02bfdbb1ee
1 changed files with 3 additions and 1 deletions
|
@ -116,7 +116,9 @@ class Backup extends Model
|
|||
];
|
||||
}
|
||||
|
||||
$this->size = Helpers::checkPathSize($this->path);
|
||||
shell_exec('rm -rf '.$this->path);
|
||||
|
||||
$this->size = filesize(Storage::disk('backups')->path($this->filepath));
|
||||
$this->status = 'completed';
|
||||
$this->completed = true;
|
||||
$this->completed_at = now();
|
||||
|
|
Loading…
Reference in a new issue