From 9ab35ae39367bcd30037c6bfc73ae0c77c35d872 Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Fri, 28 Jan 2000 17:24:53 +0000 Subject: Tried to centralize global variable registration as much as possible: - Added $HTTP_ENV_VARS[] and $HTTP_SERVER_VARS[] support, which similarly to $HTTP_GET_VARS[], contain environment and server variables. Setting register_globals to Off will now also prevent registration of the environment and server variables into the global scope (Zeev) - Renamed gpc_globals to register_globals (Zeev) - Introduced variables_order that deprecates gpc_order, and allows control over the server and environment variables, in addition to GET/POST/Cookies (Zeev) --- sapi/thttpd/thttpd.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sapi/thttpd/thttpd.c') diff --git a/sapi/thttpd/thttpd.c b/sapi/thttpd/thttpd.c index fed6c578bd..81726c2205 100644 --- a/sapi/thttpd/thttpd.c +++ b/sapi/thttpd/thttpd.c @@ -118,6 +118,8 @@ static sapi_module_struct sapi_module = { sapi_thttpd_read_post, sapi_thttpd_read_cookies, + NULL, /* register server variables */ + STANDARD_SAPI_MODULE_PROPERTIES }; -- cgit v1.2.1