mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-10-19 22:23:28 +02:00
Version 0.95 BETA
This commit is contained in:
11
api/feedback.php
Normal file
11
api/feedback.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
$data = file_get_contents("php://input");
|
||||
//$data = json_decode($data);
|
||||
if(empty($data)) {
|
||||
return http_response_code(400);
|
||||
}
|
||||
|
||||
file_put_contents("feedback.txt", $data."\n\n\n", FILE_APPEND);
|
||||
|
||||
echo "OK";
|
||||
?>
|
Reference in New Issue
Block a user