Cotonti/Cotonti — Issue #762: Move file/mimetypes
Author: GHengeveld
Created: 2011-12-01 20:22:38+00:00
State: open

Currently known file extensions and mimetypes are stored in datas/extensions.php and datas/mimetypes.php. There's two issues with this:

* The files are overwritten when upgrading, undoing any changes an admin may have done. This could potentially become a security risk if the admin is not aware. This issue is most easily fixed by storing this info in the database.
* File- and mimetypes are a PFS feature, but are currently not packaged with that module. We should decide whether to make it a global config or part of PFS.