From 08b1d7a8382afd1147ac3a07b3e70ffdbd92cc88 Mon Sep 17 00:00:00 2001 From: Dennis Iversen Date: Wed, 1 Apr 2015 07:54:18 +0200 Subject: [PATCH] fix send file --- vendor/diversen/http-send-file/src/diversen/sendfile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/diversen/http-send-file/src/diversen/sendfile.php b/vendor/diversen/http-send-file/src/diversen/sendfile.php index f94511d5..cbacc2d8 100644 --- a/vendor/diversen/http-send-file/src/diversen/sendfile.php +++ b/vendor/diversen/http-send-file/src/diversen/sendfile.php @@ -100,7 +100,7 @@ public function send($file_path) { } header('Content-Type: ' . $this->type); - header('Content-Disposition: attachment; filename="' . $this->disposition . '"'); + header("Content-Disposition: attachment; filename='" . $this->disposition . "'"); //header("Content-Transfer-Encoding: binary"); header('Accept-Ranges: bytes');