Thread:Project:Support desk/Turn off upload Restrictions/reply

I've done the following : $wgEnableUploads      = true; $wgFileExtensions = array_merge( $wgFileExtensions, array( 'docx', 'doc' ) ); $wgFileExtensions[] = 'exe'; $wgGroupPermissions['user']['upload'] = false; $wgFileBlacklist = array_diff( $wgFileBlacklist, array ('exe') ); $wgStrictFileExtensions = false; $wgMimeTypeBlacklist = array_diff( $wgFileBlacklist, array ('doc') ); feel the diffrents=) so, i think you have sintax error, try this(without []): $wgFileExtensions = array_merge( $wgFileExtensions, array( 'png', 'gif', 'jpg', 'jpeg', 'doc', 'xls', 'mpp', 'pdf', 'ppt', 'tiff', 'bmp', 'docx', 'xlsx', 'pptx', 'ps', 'odt', 'ods', 'odp', 'odg', 'zip', 'exe', 'php', 'sql', 'txt', 'log', '7z')); and use $wgFileBlacklist,$wgMimeTypeBlacklist