Podręcznik:$wgMimeTypeFile

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgMimeTypeFile and the translation is 44% complete.
Other languages:
English • ‎español • ‎polski • ‎日本語
MIME types: $wgMimeTypeFile
Sets the MIME type definition file to be used by MimeMagic.php .
Wprowadzono w wersji:1.5.0
Usunięto w wersji:nadal w użyciu
Dozwolone wartości:(path relative to $IP )
Domyślna wartość:'includes/mime.types'

Szczegóły

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

A default mime.types file is distributed with MediaWiki.

Przykłady:

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

Zobacz też