Limit file types to upload

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
alaoa
Posts: 5
Joined: 07 Jun 2009, 19:25

Limit file types to upload

Post by alaoa »

i want to say that this bug tracking software seems pretty simple to manage. I had it up and running in less than an hour. the question I have is the uploading capability. Is there a way to limit the uploads to only images. You can have people uploading all types of stuff so I only want them to upload images.
vboctor
Site Admin
Posts: 1304
Joined: 13 Feb 2005, 22:11
Location: Redmond, Washington
Contact:

Re: Limit file types to upload

Post by vboctor »

Check the following configuration options in config_defaults_inc.php:
$g_allowed_files, $g_disallowed_files

Override their values in config_inc.php.
Migrate your MantisBT to the MantisHub Cloud
alaoa
Posts: 5
Joined: 07 Jun 2009, 19:25

Re: Limit file types to upload

Post by alaoa »

Wow super fast reply. I'm going to make a donation to this software. I was reading over the documentation and I see it was a question that I could of easly figured out by READING!!!! Thanks for the software. I'm thinking of making a bridge for joomla in the future when I get some free time.
vboctor
Site Admin
Posts: 1304
Joined: 13 Feb 2005, 22:11
Location: Redmond, Washington
Contact:

Re: Limit file types to upload

Post by vboctor »

Thanks alaoa. Checkout the following thread for the Joomla integration:
http://www.mantisbt.org/forums/viewtopic.php?f=4&t=2077
Migrate your MantisBT to the MantisHub Cloud
Post Reply