diff php/keygen.php @ 2514:fb8f43204ae0

Fix for #158
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Mon, 24 Oct 2016 11:01:55 +0100
parents 4cbd314e5d9f
children
line wrap: on
line diff
--- a/php/keygen.php	Mon Oct 24 10:57:50 2016 +0100
+++ b/php/keygen.php	Mon Oct 24 11:01:55 2016 +0100
@@ -10,7 +10,7 @@
 
 $xml_good = "<response><state>OK</state><key>".$key_requested."</key></response>";
 $xml_bad = "<response><state>NO</state><key>".$key_requested."</key></response>";
-$xml_error = "<response><state>ERROR</state><key>".$key_requested."</key></response>";
+$xml_error = "<response><state>ERROR</state><key>".$key_requested."</key><message>Could not open file for writing</message></response>";
 if (is_array($saves))
 {
     foreach($saves as $filename) {