From: Edin Kadribasic Date: Tue, 28 Jan 2003 13:54:42 +0000 (+0000) Subject: Call correct module startup function (not a hard coded one) allowing X-Git-Tag: RELEASE_0_5~1386 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5b387760de96fda36f2232c4a9c114310c6ca37e;p=php Call correct module startup function (not a hard coded one) allowing startup override. --- diff --git a/sapi/embed/php_embed.c b/sapi/embed/php_embed.c index 10cf6ed3ee..331c1ec486 100644 --- a/sapi/embed/php_embed.c +++ b/sapi/embed/php_embed.c @@ -174,7 +174,7 @@ int php_embed_init(int argc, char **argv PTSRMLS_DC) sapi_startup(&php_embed_module); - if (php_module_startup(&php_embed_module, NULL, 0)==FAILURE) { + if (php_embed_module.startup(&php_embed_module)==FAILURE) { return FAILURE; }