Explorar el Código

Update MIME type for KML export

Alan Lam hace 8 años
padre
commit
ad60b3dfee
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      controllers/locations.php

+ 1 - 1
controllers/locations.php

@@ -92,7 +92,7 @@ if(!empty($action)) {
 
 		case "export-kml":
 
-			header("Content-Type: text/xml; charset=utf-8");
+			header("Content-Type: application/vnd.google-earth.kml+xml; charset=utf-8");
 			header("Content-Disposition: attachment; filename=$customer_slug-export.kml");
 
 			$xml = simplexml_load_file(ROOT_DIR . "/files/empty.kml");