summaryrefslogtreecommitdiff
path: root/sapi/cli/php_cli.c
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2007-02-20 19:20:41 +0000
committerAntony Dovgal <tony2001@php.net>2007-02-20 19:20:41 +0000
commit748b6fdeb33ad3d9aec62cf0b14ca4fca719af67 (patch)
tree060798f5e7ee0319a30cd51ce1850876ea7f911d /sapi/cli/php_cli.c
parent180baf01093fc0ed73d9904b85ec93485605c752 (diff)
downloadphp-git-748b6fdeb33ad3d9aec62cf0b14ca4fca719af67.tar.gz
MFH: make use of startup hooks
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r--sapi/cli/php_cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c
index d48617ae46..71e13f26d0 100644
--- a/sapi/cli/php_cli.c
+++ b/sapi/cli/php_cli.c
@@ -698,7 +698,7 @@ int main(int argc, char *argv[])
#endif
/* startup after we get the above ini override se we get things right */
- if (php_module_startup(&cli_sapi_module, NULL, 0)==FAILURE) {
+ if (cli_sapi_module.startup(&cli_sapi_module)==FAILURE) {
/* there is no way to see if we must call zend_ini_deactivate()
* since we cannot check if EG(ini_directives) has been initialised
* because the executor's constructor does not set initialize it.