Manual:$wgVerifyMimeType/ru

From Linux Web Expert

<translate> MIME types</translate>: $wgVerifyMimeType
Determines if the MIME type of uploaded files should be checked.
<translate> Introduced in version:</translate>1.5.0
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(boolean)
<translate> Default value:</translate>true

Details

Determines if the MIME type of uploaded files should be checked.

If this is set to false, the MIME type blacklist ($wgMimeTypeBlacklist ) is ignored. The check to make sure the MIME type of the uploaded file matches the file extension is also bypassed.

См. также