Manual:$wgMimeTypeFile/pl
Appearance
| MIME types: $wgMimeTypeFile | |
|---|---|
| Sets the MIME type definition file to be used by MimeAnalyzer.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ść: | 'internal' (1.35+)'includes/mime.types' (1.5-1.34) |
| Inne ustawienia: Alfabetycznie | Według funkcji | |
Szczegóły
Sets the MIME type definition file, which maps MIME types to file extensions.
A default MimeMap.php file is distributed with MediaWiki.
Przykłady:
$wgMimeTypeFile = "/etc/mime.types";
$wgMimeTypeFile = null; // use a limited set of built-in defaults only (defined in MimeAnalyzer.php)