diff options
Diffstat (limited to 'app/Core/Http/Response.php')
-rw-r--r-- | app/Core/Http/Response.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Core/Http/Response.php b/app/Core/Http/Response.php index e16da5f0..c5a5d3cc 100644 --- a/app/Core/Http/Response.php +++ b/app/Core/Http/Response.php @@ -47,6 +47,8 @@ class Response extends Base public function forceDownload($filename) { header('Content-Disposition: attachment; filename="'.$filename.'"'); + header('Content-Transfer-Encoding: binary'); + header('Content-Type: application/octet-stream'); } /** |