diff --git a/config/backup.php b/config/backup.php index 13056a8..167330b 100644 --- a/config/backup.php +++ b/config/backup.php @@ -1,5 +1,7 @@ [ @@ -109,7 +111,7 @@ return [ /* * The filename prefix used for the backup zip file. */ - 'filename_prefix' => '', + 'filename_prefix' => Str::random(16).'-', /* * The disk names on which the backups will be stored. diff --git a/resources/views/components/config/backups.blade.php b/resources/views/components/config/backups.blade.php index 1b95ee3..5fb835e 100644 --- a/resources/views/components/config/backups.blade.php +++ b/resources/views/components/config/backups.blade.php @@ -32,7 +32,8 @@ if ($handle = opendir('backups/updater-backups')) { while (false !== ($entry = readdir($handle))) { if ($entry != "." && $entry != "..") { - echo '
  '; print_r($entry); echo '

'; + $entrys = substr($entry, 17); + echo '
  '; print_r($entrys); echo '

'; }}} ?>