summaryrefslogtreecommitdiff
path: root/sapi/embed
diff options
context:
space:
mode:
authorEdin Kadribasic <edink@php.net>2003-01-28 13:54:42 +0000
committerEdin Kadribasic <edink@php.net>2003-01-28 13:54:42 +0000
commit5b387760de96fda36f2232c4a9c114310c6ca37e (patch)
tree3fc324073efda0349fcd73deaf90c4ea8d0fb49c /sapi/embed
parent49fd22523839ac890b38aa40853ef346ecddcce7 (diff)
downloadphp-git-5b387760de96fda36f2232c4a9c114310c6ca37e.tar.gz
Call correct module startup function (not a hard coded one) allowing
startup override.
Diffstat (limited to 'sapi/embed')
-rw-r--r--sapi/embed/php_embed.c2
1 files changed, 1 insertions, 1 deletions
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;
}