Community Support for OpenDocMan (Deprecated)

Full Version: Upload any type of document
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there any way to enable uploading any type of document, regardless of MIME type? I would like my users to be able to post any file type. We will be using document types that don't have an associated MIME type.

Bruce
You could probably disable the section of the code during add and checkout that does the mimetype check. If you cannot do that then let me know and we can work something out and get that done for you.
Dear Stephen,

Can you please give a hint on how to disable the mime file upload check? I want to disable it for file upload.

Thanks

Guest

comment out the lines that check the type of the file in add.php around where it says ec=13 (error code 13 is for unsupported file)