From 76312b4508b43ed2cebd97b749e9e90181e55073 Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Wed, 18 Sep 2002 21:57:42 +0000 Subject: another startup initialization fix - only ISAPI and CGI SAPI's tested, minor compile buglets might occur in other SAPIs, but should be trivial to fix... --- sapi/pi3web/pi3web_sapi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sapi/pi3web') diff --git a/sapi/pi3web/pi3web_sapi.c b/sapi/pi3web/pi3web_sapi.c index 873e92127b..e4b782f4f1 100644 --- a/sapi/pi3web/pi3web_sapi.c +++ b/sapi/pi3web/pi3web_sapi.c @@ -215,8 +215,7 @@ static int sapi_pi3web_send_headers(sapi_headers_struct *sapi_headers TSRMLS_DC) static int php_pi3web_startup(sapi_module_struct *sapi_module) { - if (php_module_startup(sapi_module)==FAILURE - || zend_register_module(&php_pi3web_module)==FAILURE) { + if (php_module_startup(sapi_module, &php_pi3web_module, 1)==FAILURE) { return FAILURE; } else { return SUCCESS; -- cgit v1.2.1