Jump to content

Kézikönyv:$wgMimeTypeFile

From mediawiki.org
This page is a translated version of the page Manual:$wgMimeTypeFile and the translation is 44% complete.
MIME types: $wgMimeTypeFile
Sets the MIME type definition file to be used by MimeAnalyzer.php .
Bevezetve:1.5.0
Eltávolítva:használatban
Megengedett értékek:(path relative to $IP )
Alapértelmezett érték:'internal' (1.35+)
'includes/mime.types' (1.5-1.34)

Részletek

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

A default MimeMap.php file is distributed with MediaWiki.

Példák:

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

Lásd még