Manual:$wgVerifyMimeType

Details
Determines if the mime type of uploaded files should be checked.