diff options
author | Zeev Suraski <zeev@php.net> | 2001-01-02 22:49:31 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2001-01-02 22:49:31 +0000 |
commit | bd0ac7fe14b6f2eb82a2e13a38c3eca5d4fe2e4f (patch) | |
tree | ff521b5242f3800f3495220bfdf51f9cf35bbe20 /sapi/nsapi | |
parent | 348f6c609c148c2c1f17669dad521fe04cd50a2a (diff) | |
download | php-git-bd0ac7fe14b6f2eb82a2e13a38c3eca5d4fe2e4f.tar.gz |
Many patches. I hope I remember them all:
- Make sapi_module available to external modules (PHPAPI)
- Make the php.ini path reported in phpinfo() always point to
real full path of the php.ini file
- Optimized the ISAPI module not to read unnecessary server
variables and read necessary variables at most once.
Diffstat (limited to 'sapi/nsapi')
-rw-r--r-- | sapi/nsapi/nsapi.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sapi/nsapi/nsapi.c b/sapi/nsapi/nsapi.c index 8709eab78f..81fa6a9efc 100644 --- a/sapi/nsapi/nsapi.c +++ b/sapi/nsapi/nsapi.c @@ -320,7 +320,7 @@ sapi_nsapi_register_server_variables(zval *track_vars_array ELS_DC SLS_DC PLS_DC } } -static sapi_module_struct sapi_module = { +static sapi_module_struct nsapi_sapi_module = { "nsapi", /* name */ "NSAPI", /* pretty name */ @@ -531,8 +531,8 @@ nsapi_module_main(NSLS_D SLS_DC) void NSAPI_PUBLIC php4_close(void *vparam) { - if (sapi_module.shutdown) { - sapi_module.shutdown(&sapi_module); + if (nsapi_sapi_module.shutdown) { + nsapi_sapi_module.shutdown(&nsapi_sapi_module); } tsrm_shutdown(); } @@ -545,8 +545,8 @@ php4_init(pblock *pb, Session *sn, Request *rq) tsrm_startup(1, 1, 0, NULL); core_globals = ts_resource(core_globals_id); - sapi_startup(&sapi_module); - sapi_module.startup(&sapi_module); + sapi_startup(&nsapi_sapi_module); + nsapi_sapi_module.startup(&nsapi_sapi_module); log_error(LOG_INFORM, "php4_init", sn, rq, "Initialized PHP Module\n"); return REQ_PROCEED; |