From 6370f5e0bf1e23fe87dc08aaf1a01b48bd142abc Mon Sep 17 00:00:00 2001 From: cflip Date: Thu, 1 Jun 2023 09:48:38 -0600 Subject: Allow query strings to be read by PHP scripts php-cgi is now run without any command line arguments and information such as the script filename and the query string are passed in via environment variables. --- file.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'file.h') diff --git a/file.h b/file.h index 52d8915..3081244 100644 --- a/file.h +++ b/file.h @@ -16,6 +16,6 @@ const char *file_path_for_uri(const char *); enum serve_method file_method_for_path(const char *, enum http_res_code *); int file_read(const char *, int); -int file_read_php(const char *, int); +int file_read_php(const char *, const char *, int); #endif -- cgit v1.2.3