Skip to content
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

Closed
rp-tech opened this issue Mar 12, 2015 · 6 comments
Closed

How do I adjust the allowed filetypes??? #645

rp-tech opened this issue Mar 12, 2015 · 6 comments

Comments

@rp-tech
Copy link

rp-tech commented Mar 12, 2015

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!

@snipe
Copy link
Owner

snipe commented Mar 12, 2015

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?

@rp-tech
Copy link
Author

rp-tech commented Mar 12, 2015

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?

@snipe
Copy link
Owner

snipe commented Mar 12, 2015

It would be in the licenses model.

@snipe snipe closed this as completed in cb171bc Mar 12, 2015
@rp-tech
Copy link
Author

rp-tech commented Mar 12, 2015

Hmm, I checked app/models/License.php and LicenseSeat.php, I don't see any code pertaining to mime / file types?

@snipe
Copy link
Owner

snipe commented Mar 12, 2015

I already pushed this out to the develop branch.

@rp-tech
Copy link
Author

rp-tech commented Mar 12, 2015

Oh, I see.. app/controllers/admin/LicensesController.php

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants