diff --git a/updater.php b/updater.php index c7b5ab5..b754d0c 100755 --- a/updater.php +++ b/updater.php @@ -16,7 +16,7 @@ header('Access-Control-Expose-Headers: X-Events'); include 'lastSavedChange.php'; -$resultFile = "resultater/Resultater.xml"; +$resultFile = "resultater/results.xml"; //load variable from last check $lastChange = filemtime($resultFile); $time = date('r'); @@ -31,7 +31,7 @@ if ($lastSavedChange<$lastChange){ $var_str = var_export($lastChange, true); $var = ""; file_put_contents('lastSavedChange.php', $var, LOCK_EX); - $objXmlDocument = simplexml_load_file("resultater/Resultater.xml"); + $objXmlDocument = simplexml_load_file("resultater/results.xml"); //xml to json if ($objXmlDocument === FALSE) { diff --git a/xmlToJson.php b/xmlToJson.php index 34bc8a1..e565127 100755 --- a/xmlToJson.php +++ b/xmlToJson.php @@ -1,6 +1,6 @@