Explorar el Código

Fix KML not force downloading

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

+ 1 - 1
controllers/project_kml.php

@@ -9,7 +9,7 @@ $slug = Util::slug($project->name);
 $locations = $project->getLocations();
 
 header("Content-Type: text/xml; charset=utf-8");
-//header("Content-Disposition: attachment; filename={$slug}-export.kml");
+header("Content-Disposition: attachment; filename={$slug}-export.kml");
 
 $xml = simplexml_load_file(ROOT_DIR . "/files/empty.kml");