Manuaali:$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:
Deutsch • ‎English • ‎Nederlands • ‎català • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎suomi • ‎日本語
MIME types: $wgMimeTypeFile
Sets the MIME type definition file to be used by MimeMagic.php .
Introduced in version:1.5.0
Removed in version:still in use
Allowed values:(path relative to $IP )
Default value:'includes/mime.types'
Other settings: Alphabetical | By function

Yksityiskohdat

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

A default mime.types file is distributed with MediaWiki.

Esimerkkejä:

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

Katso myös