summaryrefslogtreecommitdiff
path: root/plugins/dokuwiki/conf/mime.conf
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/dokuwiki/conf/mime.conf')
-rw-r--r--plugins/dokuwiki/conf/mime.conf41
1 files changed, 41 insertions, 0 deletions
diff --git a/plugins/dokuwiki/conf/mime.conf b/plugins/dokuwiki/conf/mime.conf
new file mode 100644
index 0000000..90356ff
--- /dev/null
+++ b/plugins/dokuwiki/conf/mime.conf
@@ -0,0 +1,41 @@
+#Add extensions and mimetypes of files you want to allow to upload here
+
+jpg image/jpeg
+jpeg image/jpeg
+gif image/gif
+png image/png
+tgz application/octet-stream
+tar application/x-gtar
+gz application/octet-stream
+zip application/zip
+pdf application/pdf
+txt text/plain
+ps application/postscript
+doc application/msword
+xls application/msexcel
+ppt application/mspowerpoint
+rtf application/msword
+xml text/xml
+swf application/x-shockwave-flash
+
+# You should enable HTML uploads only for restricted Wikis.
+# Spammers are known to upload spam pages through unprotected Wikis.
+#html text/html
+#htm text/html
+
+rpm application/octet-stream
+deb application/octet-stream
+conf text/plain
+
+sxw application/soffice
+sxc application/soffice
+sxi application/soffice
+sxd application/soffice
+
+odc application/vnd.oasis.opendocument.chart
+odf application/vnd.oasis.opendocument.formula
+odg application/vnd.oasis.opendocument.graphics
+odi application/vnd.oasis.opendocument.image
+odp application/vnd.oasis.opendocument.presentation
+ods application/vnd.oasis.opendocument.spreadsheet
+odt application/vnd.oasis.opendocument.text