small changes

This commit is contained in:
prototrip 2021-08-07 14:30:28 +03:00
parent edff1e2d2d
commit cfeacbb06d

View File

@ -9,7 +9,7 @@ $api = new App('http://0.0.0.0:3500');
$api->count = 4; // process count $api->count = 4; // process count
$api->any('/', function ($requst) { $api->any('/', function ($requst) {
$filename = "/test.txt"; $filename = "test.txt";
$file_contents = file_get_contents($filename); $file_contents = file_get_contents($filename);
$attachment_location = $_SERVER["DOCUMENT_ROOT"] . $filename; $attachment_location = $_SERVER["DOCUMENT_ROOT"] . $filename;