summaryrefslogtreecommitdiff
path: root/file.h
diff options
context:
space:
mode:
authorcflip <cflip@cflip.net>2023-06-01 09:48:38 -0600
committercflip <cflip@cflip.net>2023-06-01 10:08:34 -0600
commit6370f5e0bf1e23fe87dc08aaf1a01b48bd142abc (patch)
tree6c41ccd9df49368c57982fb52324b3726109d49c /file.h
parent02a542644617f65cf7285f0facebc827fd036b45 (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.h2
1 files changed, 1 insertions, 1 deletions
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