Commit 0c6caa33 authored by Paarth's avatar Paarth

minor

parent 4cc6c998
...@@ -53,6 +53,8 @@ if (isset($postData) && !empty($postData)) { ...@@ -53,6 +53,8 @@ if (isset($postData) && !empty($postData)) {
http_response_code(404); http_response_code(404);
} }
} }
}
else{ else{
$myfile = fopen($path, "w"); $myfile = fopen($path, "w");
fwrite($myfile, $data); fwrite($myfile, $data);
...@@ -63,8 +65,6 @@ if (isset($postData) && !empty($postData)) { ...@@ -63,8 +65,6 @@ if (isset($postData) && !empty($postData)) {
echo json_encode($msg); echo json_encode($msg);
} }
}
} }
?> ?>
Markdown is supported
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