MediaWiki REL1_35
MimeMagicImproveFromExtensionHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Hook;
4
5use MimeAnalyzer;
6
22 public function onMimeMagicImproveFromExtension( $mimeMagic, $ext, &$mime );
23}
onMimeMagicImproveFromExtension( $mimeMagic, $ext, &$mime)
Use this hook to further improve the MIME type detected by considering the file extension.
$mime
Definition router.php:60
if(!is_readable( $file)) $ext
Definition router.php:48