Index: trunk/phase3/includes/upload/UploadBase.php |
— | — | @@ -187,6 +187,7 @@ |
188 | 188 | #check mime type, if desired |
189 | 189 | global $wgVerifyMimeType; |
190 | 190 | if ($wgVerifyMimeType) { |
| 191 | + global $wgMimeTypeBlacklist; |
191 | 192 | if ( $this->checkFileExtension( $mime, $wgMimeTypeBlacklist ) ) |
192 | 193 | return array( 'filetype-badmime', $mime ); |
193 | 194 | |