mirror of
https://github.com/php/php-src.git
synced 2024-11-25 02:44:58 +08:00
Call correct module startup function (not a hard coded one) allowing
startup override.
This commit is contained in:
parent
49fd225238
commit
5b387760de
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user