- fixed simultaneously action with show and download file on doubleclick

- Changed download name for Backblaze
- Price plan can be defined in 12 digit number
This commit is contained in:
Peter Papp
2020-09-20 12:08:29 +02:00
parent 7ba2a3bec1
commit 69489c4ee2
10 changed files with 19 additions and 22 deletions

View File

@@ -148,7 +148,9 @@ class FileManagerFile extends Model
// Get file from external storage
if (is_storage_driver(['s3', 'spaces', 'wasabi', 'backblaze'])) {
$file_pretty_name = is_storage_driver('backblaze') ? Str::slug(get_pretty_name($this->attributes['basename'], $this->attributes['name'], $this->attributes['mimetype'])) : get_pretty_name($this->attributes['basename'], $this->attributes['name'], $this->attributes['mimetype']);
$file_pretty_name = is_storage_driver('backblaze')
? Str::snake(mb_strtolower($this->attributes['name']))
: get_pretty_name($this->attributes['basename'], $this->attributes['name'], $this->attributes['mimetype']);
$header = [
"ResponseAcceptRanges" => "bytes",