Alan Lam пре 8 година
родитељ
комит
2dffa33898
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      controllers/locations.php

+ 1 - 1
controllers/locations.php

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