diff options
author | Colin Viebrock <cmv@php.net> | 2000-04-05 21:43:03 +0000 |
---|---|---|
committer | Colin Viebrock <cmv@php.net> | 2000-04-05 21:43:03 +0000 |
commit | 0c2b366ce18ec4927ae31151ad05249c857e2e72 (patch) | |
tree | 69d1e09c3a86ebb153224ba20189d93fe5cf5ce8 /ext/yp | |
parent | 3ba4105fde8739a5d70a9c3818c6a40ca9a55c8a (diff) | |
download | php-git-0c2b366ce18ec4927ae31151ad05249c857e2e72.tar.gz |
phpinfo() prettying
Diffstat (limited to 'ext/yp')
-rw-r--r-- | ext/yp/yp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/yp/yp.c b/ext/yp/yp.c index 40fbf44a68..a8d82d751c 100644 --- a/ext/yp/yp.c +++ b/ext/yp/yp.c @@ -18,6 +18,7 @@ /* $Id$ */ #include "php.h" +#include "ext/standard/info.h" #if HAVE_YP @@ -176,6 +177,8 @@ PHP_FUNCTION(yp_next) { /* }}} */ PHP_MINFO_FUNCTION(yp) { - PUTS("Compiled with YP Support."); + php_info_print_table_start(); + php_info_print_table_row(2, "YP Support", "enabled"); + php_info_print_table_end(); } #endif /* HAVE_YP */ |