Commit 0c6caa33 authored by Paarth's avatar Paarth

minor

parent 4cc6c998
......@@ -53,17 +53,17 @@ if (isset($postData) && !empty($postData)) {
http_response_code(404);
}
}
else{
$myfile = fopen($path, "w");
fwrite($myfile, $data);
fclose($myfile);
$msg = "file successfully uploaded";
clearstatcache();
echo json_encode($msg);
}
}
else{
$myfile = fopen($path, "w");
fwrite($myfile, $data);
fclose($myfile);
$msg = "file successfully uploaded";
clearstatcache();
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