|
@@ -92,7 +92,7 @@ if(!empty($action)) {
|
|
|
|
|
|
|
|
case "export-kml":
|
|
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");
|
|
header("Content-Disposition: attachment; filename=$customer_slug-export.kml");
|
|
|
|
|
|
|
|
$xml = simplexml_load_file(ROOT_DIR . "/files/empty.kml");
|
|
$xml = simplexml_load_file(ROOT_DIR . "/files/empty.kml");
|