The file MimeSettings.json defines all MIME types allowable by YetaWF, for upload, display or any other use as defined by other packages. The file can be found in the website's Data folder.
This section defines the file extensions that are allowed to be used with YetaWF.
Default entries for commonly used file types are automatically defined when YetaWF is installed.
Each MimeTypes entry defines one file type using the following attributes:
|Type||Content-Type||Defines the Content-Type used for up/download.|
|Extensions||string||One or multiple semi-colon separated file extensions that are allowed for this file type.|
|PackageUse||bool||true if this file type can be used as a package file (ZIP file), false otherwise, which is the default. Used for YetaWF package uploading.|
|ImageUse||bool||true if this file type can be used as an image file, false otherwise, which is the default. Used for image uploading.|
|FlashUse||bool||true if this file type can be used as a Flash image file, false otherwise, which is the default. Used for Flash image uploading.|
|Additional Types||bool||Packages can define their own types (always prefixed by the package name, e.g. Softelvdm_DropBoxUse or YetaWF_TestDocUse).|
. . .