diff options
author | cflip <cflip@cflip.net> | 2023-06-01 09:48:38 -0600 |
---|---|---|
committer | cflip <cflip@cflip.net> | 2023-06-01 10:08:34 -0600 |
commit | 6370f5e0bf1e23fe87dc08aaf1a01b48bd142abc (patch) | |
tree | 6c41ccd9df49368c57982fb52324b3726109d49c /file.h | |
parent | 02a542644617f65cf7285f0facebc827fd036b45 (diff) |
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.
Diffstat (limited to 'file.h')
-rw-r--r-- | file.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |