diff options
author | Marcus Boerger <helly@php.net> | 2003-03-18 20:52:52 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2003-03-18 20:52:52 +0000 |
commit | 3e621fac945a519f6c4b19bb2cd4a4618df8eb1f (patch) | |
tree | 7aea37b7097fd917d281edbd78ceeae3eada7290 /sapi/cli/php_cli.c | |
parent | d29d55e772c1b3008968130402773144dcba4883 (diff) | |
download | php-git-3e621fac945a519f6c4b19bb2cd4a4618df8eb1f.tar.gz |
make phpinfo() depend on executed sapi
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r-- | sapi/cli/php_cli.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index 2a8c7b5468..9b1c64c8ea 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -549,6 +549,7 @@ int main(int argc, char *argv[]) #endif cli_sapi_module.ini_defaults = sapi_cli_ini_defaults; + cli_sapi_module.phpinfo_as_text = 1; sapi_startup(&cli_sapi_module); #ifdef PHP_WIN32 |