DokuWiki Configuration Modify upload file type and size

Source: Internet
Author: User

Upload file type
The settings for the upload file type are configured in dokuwiki/conf/mime.conf.

If the old version is not supported, add the following in mime.conf:
Docx!application/vnd.openxmlformats-officedocument.wordprocessingml.document
xlsx!application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
PPTX!application/vnd.openxmlformats-officedocument.presentationml.presentation

The default does not support HTML, HTM, txt, conf, XML, CSV, and so on, if necessary to support the removal of the previous comment.

#html    text/html
 #htm     text/html
 #txt     text/plain
 #conf    text/plain
 #xml     text/ XML
 #csv     text/csv
Modify Upload Attachment size
Find Upload_max_filesize in D:\phpStudy\PHPa\php.ini and D:\phpStudy\PHPb\php.ini, the default value is 2M, and the maximum number of changes uploaded max_file_uploads, The default is 20, which can be modified to suit your needs.

Thank you for the share of this Bo friend http://www.jbxue.com/cms/1703.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.