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/webjames/webjames.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sapi/webjames/webjames.c') diff --git a/sapi/webjames/webjames.c b/sapi/webjames/webjames.c index 3bea3457e4..9d2f25013a 100644 --- a/sapi/webjames/webjames.c +++ b/sapi/webjames/webjames.c @@ -242,10 +242,10 @@ static zend_module_entry php_webjames_module = { STANDARD_MODULE_PROPERTIES }; + static int php_webjames_startup(sapi_module_struct *sapi_module) { - if(php_module_startup(sapi_module) == FAILURE - || zend_startup_module(&php_webjames_module) == FAILURE) { + if(php_module_startup(sapi_module, &php_webjames_module, 1) == FAILURE) { return FAILURE; } else { return SUCCESS; -- cgit v1.2.1