We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e13eb2a + 3bc4431 commit 4a6b472Copy full SHA for 4a6b472
src/BackupManager.php
@@ -50,7 +50,7 @@ public function getBackups()
50
$name = str_replace(config('backupmanager.backups.backup_path')."/","",$file->path());
51
$array = explode('_', $name);
52
$filesData[] = [
53
- 'name' => end($array),
+ 'name' => $name,
54
'size_raw' => $file->fileSize(),
55
'size' => $this->formatSizeUnits($file->fileSize()),
56
'type' => $array[0] === 'd' ? 'Database' : 'Files',
0 commit comments