small changes
This commit is contained in:
parent
edff1e2d2d
commit
cfeacbb06d
2
api.php
2
api.php
@ -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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user