-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I adjust the allowed filetypes??? #645
Comments
File types are not a configurable option at this point. If you change them in the model, your changes will be overwritten any time we update that file. What mime type were you looking to add? |
Right now I'm trying to upload a 20 KB zip file, which contains a .LIC file for our AV software, and an email (.msg) file containing the discussion surrounding the purchase. It would be nice if this were a configurable option. Can you point me to the correct PHP file for now so I can (temporarily) allow myself to upload it? |
It would be in the licenses model. |
Hmm, I checked app/models/License.php and LicenseSeat.php, I don't see any code pertaining to mime / file types? |
I already pushed this out to the develop branch. |
Oh, I see.. app/controllers/admin/LicensesController.php Thank you! |
When I go to attach a file, for example, a zip file containing a license file to one of our software licenses, it tells me the filetype is not allowed.
I checked the php config files but I do not see mimes.php anywhere?
Is there a specific configuration file that holds this setting? I did not see it in the documentation anywhere.
Please advise,
Thanks!
The text was updated successfully, but these errors were encountered: