Commit 5b3501d2 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Allow uploading of ms ppt files

parent 35b3a5a7
......@@ -175,6 +175,11 @@ function xmldb_artefact_file_upgrade($oldversion=0) {
delete_records('config', 'field', 'pathtofile');
}
if ($oldversion < 2008101700) {
execute_sql("UPDATE {artefact_file_mime_types} SET mimetype = 'application/vnd.ms-powerpoint' WHERE mimetype = 'application/vnt.ms-powerpoint'");
}
// everything up to here we pre mysql support.
return $status;
}
......
......@@ -310,7 +310,7 @@
<description>ppt</description>
<enabled>1</enabled>
<mimetypes>
<mimetype>application/vnt.ms-powerpoint</mimetype>
<mimetype>application/vnd.ms-powerpoint</mimetype>
</mimetypes>
</filetype>
<filetype>
......
......@@ -27,7 +27,7 @@
defined('INTERNAL') || die();
$config = new StdClass;
$config->version = 2008101602;
$config->version = 2008101700;
$config->release = '0.4.3';
?>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment