From d787ea5346a469c92f8ab665724693564f3e7889 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Thu, 16 Dec 1999 17:07:19 +0000 Subject: [PATCH] (php_ns_request_handler) set SG(server_context) to non-NULL --- sapi/aolserver/aolserver.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sapi/aolserver/aolserver.c b/sapi/aolserver/aolserver.c index 2cc96280b4..0575799b8d 100644 --- a/sapi/aolserver/aolserver.c +++ b/sapi/aolserver/aolserver.c @@ -502,6 +502,8 @@ php_ns_request_handler(void *context, Ns_Conn *conn) NSG(conn) = conn; + SG(server_context) = global_context; + php_ns_request_ctor(NSLS_C SLS_CC); status = php_ns_module_main(NSLS_C SLS_CC); -- 2.40.0