diff options
author | Andrei Zmievski <andrei@php.net> | 2000-06-26 18:05:55 +0000 |
---|---|---|
committer | Andrei Zmievski <andrei@php.net> | 2000-06-26 18:05:55 +0000 |
commit | 4010b422ddca37f110a47f17863f9114cc50b7a6 (patch) | |
tree | f5f5d2daf750da0c7a99dbd827e4df14173a71d6 /ext/standard/info.c | |
parent | bcb308c522e2a6ae495fca931a448e353e945b9e (diff) | |
download | php-git-4010b422ddca37f110a47f17863f9114cc50b7a6.tar.gz |
Separate plain name returned by php_sapi_module() and pretty name
used for output.
Diffstat (limited to 'ext/standard/info.c')
-rw-r--r-- | ext/standard/info.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/info.c b/ext/standard/info.c index e2295b8534..b5de1b3c9e 100644 --- a/ext/standard/info.c +++ b/ext/standard/info.c @@ -179,8 +179,8 @@ PHPAPI void php_print_info(int flag) #ifdef CONFIGURE_COMMAND php_info_print_table_row(2, "Configure Command", CONFIGURE_COMMAND ); #endif - if (sapi_module.name) { - php_info_print_table_row(2, "Server API", sapi_module.name ); + if (sapi_module.pretty_name) { + php_info_print_table_row(2, "Server API", sapi_module.pretty_name ); } #ifdef VIRTUAL_DIR |