ソースを参照

Fix file path

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);