diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2017-06-14 11:02:05 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2017-06-14 11:02:05 +0200 |
commit | c1d9565131e1dbc4b4928fc18d0b15ff9d1137a5 (patch) | |
tree | a52bafac85cddaa9526a7988b87c3bf77ea29a17 /lib/private/Repair | |
parent | addcda9325b74a2c4462b1c5581aaff993bf35b6 (diff) | |
download | nextcloud-server-c1d9565131e1dbc4b4928fc18d0b15ff9d1137a5.tar.gz nextcloud-server-c1d9565131e1dbc4b4928fc18d0b15ff9d1137a5.zip |
added kml, kmz, tcx types as well while at it
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib/private/Repair')
-rw-r--r-- | lib/private/Repair/RepairMimeTypes.php | 5 |
1 files changed, 4 insertions, 1 deletions
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); |