Fixed data appending
This commit is contained in:
parent
15899528c0
commit
4ac0e6fab7
|
@ -20,7 +20,7 @@ $nonce = md5($headers["X-Nonce"]);
|
|||
$intent = $headers["X-Intent"];
|
||||
switch($intent){
|
||||
case "W":
|
||||
file_put_contents("data/".$nonce.".csv",FILE_APPEND);
|
||||
file_put_contents("data/".$nonce.".csv",$f,FILE_APPEND);
|
||||
break;
|
||||
case "C":
|
||||
rename("data/".$nonce.".csv","data/current.csv");
|
||||
|
|
Reference in New Issue
Block a user