fix export extension

This commit is contained in:
xdrm-brackets 2018-05-12 16:45:47 +02:00
parent c52893ffd6
commit 50f99f6a44
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ class exportController
return [ return [
'headers' => [ 'headers' => [
'Content-Type' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'Content-Type' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
'Content-Disposition' => 'attachment; filename=archive.xsl' 'Content-Disposition' => 'attachment; filename=archive.xls'
], ],
'body' => file_get_contents($tmpFilename) 'body' => file_get_contents($tmpFilename)
]; ];