]> granicus.if.org Git - php/commitdiff
(php_ns_request_handler) set SG(server_context) to non-NULL
authorSascha Schumann <sas@php.net>
Thu, 16 Dec 1999 17:07:19 +0000 (17:07 +0000)
committerSascha Schumann <sas@php.net>
Thu, 16 Dec 1999 17:07:19 +0000 (17:07 +0000)
sapi/aolserver/aolserver.c

index 2cc96280b42a9b33b248bd3c196737d586d4bf98..0575799b8d2a8d1235a48cb97b9db42e1fa0a88f 100644 (file)
@@ -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);