summaryrefslogtreecommitdiff
path: root/sapi/pi3web/pi3web_sapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/pi3web/pi3web_sapi.c')
-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;