diff options
Diffstat (limited to 'cfws.c')
-rw-r--r-- | cfws.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -56,7 +56,7 @@ static void handle_request(const struct http_request *req, int sockfd) file_read(filepath, sockfd); break; case SERVE_METHOD_PHP: - file_read_php(filepath, sockfd); + file_read_php(filepath, req->query_str, sockfd); break; case SERVE_METHOD_ERROR: { const char *errmsg = "Content-Type: text/plain\r\n\r\nEpic fail"; |