Mercurial > hg > webaudioevaluationtool
diff php/keygen.php @ 2513:4cbd314e5d9f
WIP for #158
author | Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk> |
---|---|
date | Mon, 24 Oct 2016 10:57:50 +0100 |
parents | 177cbd750610 |
children | fb8f43204ae0 |
line wrap: on
line diff
--- a/php/keygen.php Mon Oct 24 10:48:00 2016 +0100 +++ b/php/keygen.php Mon Oct 24 10:57:50 2016 +0100 @@ -26,8 +26,8 @@ } } } - $filename = "saves/save-".$key_requested.".xml"; - $fileHandle = fopen($filename, 'w'); + $filename = "../saves/save-".$key_requested.".xml"; + $fileHandle = fopen($filename, 'c'); if ($fileHandle == FALSE) { echo $xml_error; return;