# HG changeset patch # User Nicholas Jillings # Date 1457604278 0 # Node ID a6cfd378891c40ee7077ea6af279cb519e9ce915 # Parent 6b2ae5d87a6470a19d8f6b3fc8e895d539cc80b1 Minor corrections to PHP save script. diff -r 6b2ae5d87a64 -r a6cfd378891c save.php --- a/save.php Thu Mar 10 10:38:31 2016 +0100 +++ b/save.php Thu Mar 10 10:04:38 2016 +0000 @@ -1,11 +1,5 @@ Could not write file "saves/'.$xmlfile.'"'; + $xml = 'Could not write file "'.$filename.'"'; echo $xml; return; } fclose($fileHandle); - // Return JSON confirmation data - $xml = 'OK"saves/'.$xmlfile.'"'; + // Return XML confirmation data + $xml = 'OK"'.$filename.'"'; echo $xml; -?> +?> \ No newline at end of file