diff php/requestKey.php @ 2633:7270da0c8647

Use ->save not saveXML
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Thu, 19 Jan 2017 12:13:24 +0000
parents aa8d428fbb43
children 7d619727130c
line wrap: on
line diff
--- a/php/requestKey.php	Thu Jan 19 12:11:59 2017 +0000
+++ b/php/requestKey.php	Thu Jan 19 12:13:24 2017 +0000
@@ -70,6 +70,6 @@
 //  Add start time
 //  Add IP Address information
 //  Save the file
-$doc_struct->saveXML($filename);
+$doc_struct->save($filename);
 echo "<response><state>OK</state><key>".$key."</key></response>";
 ?>