From c1d9565131e1dbc4b4928fc18d0b15ff9d1137a5 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Wed, 14 Jun 2017 11:02:05 +0200 Subject: added kml, kmz, tcx types as well while at it Signed-off-by: Arthur Schiwon --- lib/private/Repair/RepairMimeTypes.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/private/Repair') diff --git a/lib/private/Repair/RepairMimeTypes.php b/lib/private/Repair/RepairMimeTypes.php index c384241b5ff..0bf35c1d2ae 100644 --- a/lib/private/Repair/RepairMimeTypes.php +++ b/lib/private/Repair/RepairMimeTypes.php @@ -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); -- cgit v1.2.3