[pmwiki-users] MS Publisher file format upload

Eemeli Aro eemeli at gmail.com
Sun Jan 20 05:07:51 CST 2008


On Jan 19, 2008 5:03 AM, Tegan Dowling <tmdowling at gmail.com> wrote:
> Hi, all:  What's the process for adding the ".pub" file format and
> extension to the list of recognized and permitted file formats?

1. What you need to find is the correct MIME type for the file, so
Google for it (mime type pub). One of the top results will tell you
it's "application/x-mspublisher".

2. Add the following to your config.php:

$UploadExts['pub'] = 'application/x-mspublisher';

eemeli



More information about the pmwiki-users mailing list