The missing of 'tmp' directory render the 'push' method ineffective
In "/api/helper.php", the "file_put_contents()" functions inside the "dump_server_status" function and "dump_server_info" function wouldn't work as expected if there isn't the "/tmp" directory.
This was what ChatGPT3.5 told me for the question "if the file path miss a directory, would this function create one directory?": The file_put_contents() function will not create directories. If the file path specified in the function includes directories that do not exist, the function will return false and fail to write the file.
My solution: It worked fine after my simply creating directory "infinite-server/tmp".
Edited by Rag Doll