|
@@ 125-133 (lines=9) @@
|
| 122 |
|
return $this->updateMimetypes($updatedMimetypes); |
| 123 |
|
} |
| 124 |
|
|
| 125 |
|
private function introduceWindowsProgramTypes() { |
| 126 |
|
$updatedMimetypes = array( |
| 127 |
|
'htaccess' => 'text/plain', |
| 128 |
|
'bat' => 'application/x-msdos-program', |
| 129 |
|
'cmd' => 'application/cmd', |
| 130 |
|
); |
| 131 |
|
|
| 132 |
|
return $this->updateMimetypes($updatedMimetypes); |
| 133 |
|
} |
| 134 |
|
|
| 135 |
|
private function introduceLocationTypes() { |
| 136 |
|
$updatedMimetypes = [ |
|
@@ 135-144 (lines=10) @@
|
| 132 |
|
return $this->updateMimetypes($updatedMimetypes); |
| 133 |
|
} |
| 134 |
|
|
| 135 |
|
private function introduceLocationTypes() { |
| 136 |
|
$updatedMimetypes = [ |
| 137 |
|
'gpx' => 'application/gpx+xml', |
| 138 |
|
'kml' => 'application/vnd.google-earth.kml+xml', |
| 139 |
|
'kmz' => 'application/vnd.google-earth.kmz', |
| 140 |
|
'tcx' => 'application/vnd.garmin.tcx+xml', |
| 141 |
|
]; |
| 142 |
|
|
| 143 |
|
return $this->updateMimetypes($updatedMimetypes); |
| 144 |
|
} |
| 145 |
|
|
| 146 |
|
private function introduceInternetShortcutTypes() { |
| 147 |
|
$updatedMimetypes = [ |
|
@@ 155-163 (lines=9) @@
|
| 152 |
|
return $this->updateMimetypes($updatedMimetypes); |
| 153 |
|
} |
| 154 |
|
|
| 155 |
|
private function introduceStreamingTypes() { |
| 156 |
|
$updatedMimetypes = [ |
| 157 |
|
'm3u' => 'audio/mpegurl', |
| 158 |
|
'm3u8' => 'audio/mpegurl', |
| 159 |
|
'pls' => 'audio/x-scpls' |
| 160 |
|
]; |
| 161 |
|
|
| 162 |
|
return $this->updateMimetypes($updatedMimetypes); |
| 163 |
|
} |
| 164 |
|
|
| 165 |
|
private function introduceVisioTypes() { |
| 166 |
|
$updatedMimetypes = [ |