summaryrefslogtreecommitdiff
path: root/sapi/pi3web
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2002-09-18 21:57:42 +0000
committerZeev Suraski <zeev@php.net>2002-09-18 21:57:42 +0000
commit76312b4508b43ed2cebd97b749e9e90181e55073 (patch)
treede244c23b518eff0488eb3a965b21e2522ee0454 /sapi/pi3web
parent70f17979fb7ac0c7379a48bc86d26a009cfb56ed (diff)
downloadphp-git-76312b4508b43ed2cebd97b749e9e90181e55073.tar.gz
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...
Diffstat (limited to 'sapi/pi3web')
-rw-r--r--sapi/pi3web/pi3web_sapi.c3
1 files changed, 1 insertions, 2 deletions
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;