diff options
author | Zeev Suraski <zeev@php.net> | 2002-05-11 03:41:17 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2002-05-11 03:41:17 +0000 |
commit | 5af649efbdbb756b4e632ff67d04af9905ad328f (patch) | |
tree | 557eb33d245ce60dcd88befda1c000360244b3b4 /sapi/cli/php_cli.c | |
parent | ce20564d1e2f8999eb3ff3cf7e593b9da4b5f86e (diff) | |
download | php-git-5af649efbdbb756b4e632ff67d04af9905ad328f.tar.gz |
Revert to the old php_ini.c, and reimplement the binary-path searching.
Should now also work under UNIX (CLI/CGI)
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r-- | sapi/cli/php_cli.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index 6f496d23b2..3db7e6dce4 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -361,6 +361,8 @@ int main(int argc, char *argv[]) ap_php_optind = orig_optind; ap_php_optarg = orig_optarg; + cli_sapi_module.executable_location = argv[0]; + /* startup after we get the above ini override se we get things right */ if (php_module_startup(&cli_sapi_module)==FAILURE) { return FAILURE; |