Преглед изворни кода

Fix KML not force downloading

Alan Lam пре 8 година
родитељ
комит
3984b10b25
1 измењених фајлова са 1 додато и 1 уклоњено
  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");