summaryrefslogtreecommitdiff
path: root/sapi/cli/php_cli.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-03-18 20:52:52 +0000
committerMarcus Boerger <helly@php.net>2003-03-18 20:52:52 +0000
commit3e621fac945a519f6c4b19bb2cd4a4618df8eb1f (patch)
tree7aea37b7097fd917d281edbd78ceeae3eada7290 /sapi/cli/php_cli.c
parentd29d55e772c1b3008968130402773144dcba4883 (diff)
downloadphp-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.c1
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