[ATTACHMENTS] Move thumbnail controller to core and cleanup

This commit is contained in:
2021-04-19 07:28:53 +00:00
parent 3a7e92ed01
commit e1995f44ce
5 changed files with 103 additions and 29 deletions

View File

@@ -86,7 +86,7 @@ class GSFile
[
'Content-Description' => 'File Transfer',
'Content-Type' => $mimetype,
'Content-Disposition' => HeaderUtils::makeDisposition($disposition, $output_filename ?: _m('Untitled attachment')),
'Content-Disposition' => HeaderUtils::makeDisposition($disposition, $output_filename ?: _m('Untitled attachment'), _m('Untitled attachment')),
'Cache-Control' => 'public',
],
$public = true,