From 0c2b366ce18ec4927ae31151ad05249c857e2e72 Mon Sep 17 00:00:00 2001 From: Colin Viebrock Date: Wed, 5 Apr 2000 21:43:03 +0000 Subject: phpinfo() prettying --- ext/yp/yp.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ext/yp') 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 */ -- cgit v1.2.1