summaryrefslogtreecommitdiffstats
path: root/system/helpers
diff options
context:
space:
mode:
authordododedodonl <phpscripter.dodo@gmail.com>2012-03-10 13:56:17 +0100
committerdododedodonl <phpscripter.dodo@gmail.com>2012-03-10 13:56:17 +0100
commit4da9478ca00a9316c525b71001e0c6260d7d85fa (patch)
treea8b3fa0c423ad9f5c7c293c33c77b04fc699fecf /system/helpers
parent016e6ff68823f4650a5047e04d80b8c85b2c3905 (diff)
Removed quotes from the Content-Type header to support mime-type detection on android
Diffstat (limited to 'system/helpers')
-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');