Jump to content


From mediawiki.org
This page is a translated version of the page Manual:$wgMimeTypeFile and the translation is 11% complete.
Tipos MIME: $wgMimeTypeFile
Sets the MIME type definition file to be used by MimeAnalyzer.php .
Introduzido na versão:1.5.0
Removido na versão:ainda em uso
Valores permitidos:(path relative to $IP )
Valor padrão:'internal' (1.35+)
'includes/mime.types' (1.5-1.34)


Sets the MIME type definition file, which maps MIME types to file extensions.

A default MimeMap.php file is distributed with MediaWiki.


$wgMimeTypeFile = "/etc/mime.types"; $wgMimeTypeFile = null; // use a limited set of built-in defaults only (defined in MimeAnalyzer.php)

Ver também