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 David Farning <dfarning@gmail.com>2009-03-21 00:19:27 (GMT)
commitaea98aed68b19f74f1e89caf4f2e421b87df2687 (patch)
tree7a505365493ce5aa798c72cdd0a053b96a795708
parent701750fa748810d4a72f2115158cd79123ce1473 (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
+?>