diff options
| author | Zeev Suraski <zeev@php.net> | 2000-01-28 17:24:53 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 2000-01-28 17:24:53 +0000 |
| commit | 9ab35ae39367bcd30037c6bfc73ae0c77c35d872 (patch) | |
| tree | 0159d87ae935d13e9b82961442d741ce9360b439 /sapi/thttpd/thttpd.c | |
| parent | 270eff1dfee55220c009cd1a546901339f657b94 (diff) | |
| download | php-git-9ab35ae39367bcd30037c6bfc73ae0c77c35d872.tar.gz | |
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)
Diffstat (limited to 'sapi/thttpd/thttpd.c')
| -rw-r--r-- | sapi/thttpd/thttpd.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 }; |
