MediaWiki

From Hack Sphere Labs Wiki
Jump to: navigation, search

Allow all filetypes/MIME

  • LocalSettings.php
$wgCheckFileExtensions = false;
$wgStrictFileExtensions = false;
$wgVerifyMimeType = false;
$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg' );
$wgFileBlacklist = array();
$wgMimeTypeBlacklist= array();