summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Sturgeon <email@philsturgeon.co.uk>2012-03-10 13:57:55 +0100
committerPhil Sturgeon <email@philsturgeon.co.uk>2012-03-10 13:57:55 +0100
commit244d6741a1ecd8959887bc5d6612a69631390b3f (patch)
treea8b3fa0c423ad9f5c7c293c33c77b04fc699fecf
parent016e6ff68823f4650a5047e04d80b8c85b2c3905 (diff)
parent4da9478ca00a9316c525b71001e0c6260d7d85fa (diff)
Merge pull request #1159 from dododedodonl/patch-2
Removed quotes from the Content-Type header...
-rw-r--r--system/helpers/download_helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/helpers/download_helper.php b/system/helpers/download_helper.php
index 47d55dbf5..f3f0ff2ca 100644
--- a/system/helpers/download_helper.php
+++ b/system/helpers/download_helper.php
@@ -91,7 +91,7 @@ if ( ! function_exists('force_download'))
}
// Generate the server headers
- header('Content-Type: "'.$mime.'"');
+ header('Content-Type: '.$mime);
header('Content-Disposition: attachment; filename="'.$filename.'"');
header('Expires: 0');
header('Content-Transfer-Encoding: binary');