Skip to content
Snippets Groups Projects
Commit 774fff40 authored by ALLEGRE REMI's avatar ALLEGRE REMI
Browse files

Ajout de l'envoi des données lors de l'exécution de restore

parent 03618278
Branches main
No related merge requests found
......@@ -46,6 +46,7 @@ switch ($_SERVER['REQUEST_METHOD']) {
} elseif ($get_function == "restore") {
$newJsonString = file_get_contents('users.orig.json');
file_put_contents('users.json', $newJsonString);
echo $newJsonString;
}
break;
case "POST":
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment