|
@@ -93,7 +93,7 @@ if(!empty($action)) {
|
|
|
header("Content-Type: text/xml; charset=utf-8");
|
|
header("Content-Type: text/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("files/empty.kml");
|
|
|
|
|
|
|
+ $xml = simplexml_load_file(ROOT_DIR . "/files/empty.kml");
|
|
|
|
|
|
|
|
$folder_node = $xml->addChild("Folder");
|
|
$folder_node = $xml->addChild("Folder");
|
|
|
$folder_node->addChild("name", $customer->name);
|
|
$folder_node->addChild("name", $customer->name);
|