Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@sugarlabs.org>2009-02-13 14:26:27 (GMT)
committer Tomeu Vizoso <tomeu@sugarlabs.org>2009-02-13 14:26:27 (GMT)
commit6187c27214dfc1ca71ad63a602cc4cb9d62aa4ac (patch)
tree96d236a5c05aaa4b6c64ec865dfe803ec1553455
parentee3d5d599a5b4f2f1fef0de7e9ae3ff7a5cb94b3 (diff)
Set the mime type of downloads to application/vnd.olpc-sugar
-rw-r--r--site/app/views/downloads/file.thtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/site/app/views/downloads/file.thtml b/site/app/views/downloads/file.thtml
index d0e6ea5..c086aed 100644
--- a/site/app/views/downloads/file.thtml
+++ b/site/app/views/downloads/file.thtml
@@ -35,11 +35,11 @@
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
-header("Content-type: application/x-xpinstall");
+header("Content-type: application/vnd.olpc-sugar");
if (!empty($attachment) && $attachment)
header("Content-Disposition: attachment; filename=\"{$fileName}\"");
header("Content-Length: " . filesize($fileLoc));
$html->readfile_chunked($fileLoc);
-?> \ No newline at end of file
+?>