# HG changeset patch # User Nicholas Jillings # Date 1484824982 0 # Node ID 0bce959c42ede86d5bede40d1c0c4a4fe98ce019 # Parent f41389149eaba5ba36da94e575e72176d83cf5f4 Correctly point filename to root of directory (#49) diff -r f41389149eab -r 0bce959c42ed php/requestKey.php --- a/php/requestKey.php Thu Jan 19 11:20:04 2017 +0000 +++ b/php/requestKey.php Thu Jan 19 11:23:02 2017 +0000 @@ -58,7 +58,7 @@ $doc_struct = new SimpleXMLElement(''); $doc_struct->addAttribute("key",$key); // Add the root -if (file_exists($testURL)) { +if (file_exists("../".$testURL)) { $test_proto = new SimpleXMLElement(file_get_contents($testURL, FILE_TEXT)); $doc_struct->addChild($test_proto); }