Manual:$wgMimeTypeFile/zh

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgMimeTypeFile and the translation is 11% complete.
Other languages:
English • ‎español • ‎français • ‎中文 • ‎日本語
MIME类型: $wgMimeTypeFile
Sets the MIME type definition file to be used by MimeAnalyzer.php .
引进版本:1.5.0
移除版本:仍在使用
允许的值:(path relative to $IP )
默认值:'includes/mime.types'

细节

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

A default mime.types file is distributed with MediaWiki.

Examples:

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

See also