Explorar el Código

Fix file path

Alan Lam hace 8 años
padre
commit
2dffa33898
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);