added kml, kmz, tcx types as well while at it
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
addcda9325
commit
c1d9565131
|
@ -131,7 +131,10 @@ class RepairMimeTypes implements IRepairStep {
|
|||
|
||||
private function introduceLocationTypes() {
|
||||
$updatedMimetypes = [
|
||||
'gpx' => 'application/gpx+xml'
|
||||
'gpx' => 'application/gpx+xml',
|
||||
'kml' => 'application/vnd.google-earth.kml+xml',
|
||||
'kmz' => 'application/vnd.google-earth.kmz',
|
||||
'tcx' => 'application/vnd.garmin.tcx+xml',
|
||||
];
|
||||
|
||||
$this->updateMimetypes($updatedMimetypes);
|
||||
|
|
|
@ -26,6 +26,9 @@
|
|||
"application/rss+xml": "application/xml",
|
||||
"application/vnd.android.package-archive": "package/x-generic",
|
||||
"application/vnd.lotus-wordpro": "x-office/document",
|
||||
"application/vnd.garmin.tcx+xml": "location",
|
||||
"application/vnd.google-earth.kml+xml": "location",
|
||||
"application/vnd.google-earth.kmz": "location",
|
||||
"application/vnd.ms-excel": "x-office/spreadsheet",
|
||||
"application/vnd.ms-excel.addin.macroEnabled.12": "x-office/spreadsheet",
|
||||
"application/vnd.ms-excel.sheet.binary.macroEnabled.12": "x-office/spreadsheet",
|
||||
|
|
|
@ -82,6 +82,8 @@
|
|||
"kdc": ["image/x-dcraw"],
|
||||
"key": ["application/x-iwork-keynote-sffkey"],
|
||||
"keynote": ["application/x-iwork-keynote-sffkey"],
|
||||
"kml": ["application/vnd.google-earth.kml+xml"],
|
||||
"kmz": ["application/vnd.google-earth.kmz"],
|
||||
"kra": ["application/x-krita"],
|
||||
"ldif": ["text/x-ldif"],
|
||||
"lwp": ["application/vnd.lotus-wordpro"],
|
||||
|
@ -160,6 +162,7 @@
|
|||
"tar.bz2": ["application/x-bzip2"],
|
||||
"tar.gz": ["application/x-compressed"],
|
||||
"tbz2": ["application/x-bzip2"],
|
||||
"tcx": ["application/vnd.garmin.tcx+xml"],
|
||||
"tex": ["application/x-tex"],
|
||||
"tgz": ["application/x-compressed"],
|
||||
"tiff": ["image/tiff"],
|
||||
|
|
Loading…
Reference in New Issue