Page 1 of 1

Limit file types to upload

Posted: 07 Jun 2009, 19:31
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.

Re: Limit file types to upload

Posted: 07 Jun 2009, 22:44
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.

Re: Limit file types to upload

Posted: 08 Jun 2009, 02:03
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.

Re: Limit file types to upload

Posted: 08 Jun 2009, 06:53
by vboctor
Thanks alaoa. Checkout the following thread for the Joomla integration:
http://www.mantisbt.org/forums/viewtopic.php?f=4&t=2077