Skip to content
This repository has been archived by the owner on Nov 9, 2019. It is now read-only.

Commit

Permalink
fix send file
Browse files Browse the repository at this point in the history
  • Loading branch information
diversen committed Apr 1, 2015
1 parent 4ac52bd commit 08b1d7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vendor/diversen/http-send-file/src/diversen/sendfile.php
Expand Up @@ -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');

Expand Down

0 comments on commit 08b1d7a

Please sign in to comment.