diff options
| author | Colin Viebrock <cmv@php.net> | 2000-04-06 21:07:44 +0000 |
|---|---|---|
| committer | Colin Viebrock <cmv@php.net> | 2000-04-06 21:07:44 +0000 |
| commit | a7c8bfb9fb2d20341181c3ab351fc436a4cc0e2a (patch) | |
| tree | 7178e45bc4ef17f47f744fd6c1517362734ded68 /ext/snmp/snmp.c | |
| parent | 56fc855afdde5270d9b6558734bd476669224e1d (diff) | |
| download | php-git-a7c8bfb9fb2d20341181c3ab351fc436a4cc0e2a.tar.gz | |
phpinfo() prettying
Diffstat (limited to 'ext/snmp/snmp.c')
| -rw-r--r-- | ext/snmp/snmp.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ext/snmp/snmp.c b/ext/snmp/snmp.c index 4368819810..5bcc552a9a 100644 --- a/ext/snmp/snmp.c +++ b/ext/snmp/snmp.c @@ -20,6 +20,7 @@ /* $Id$ */ #include "php.h" +#include "ext/standard/info.h" #if defined(COMPILE_DL) #include "dl/phpdl.h" #endif @@ -105,7 +106,9 @@ PHP_MINIT_FUNCTION(snmp) PHP_MINFO_FUNCTION(snmp) { - php_printf("ucd-snmp"); + php_info_print_table_start(); + php_info_print_table_row(2, "UCD-SNMP Support", "enabled"); + php_info_print_table_end(); } @@ -381,4 +384,4 @@ PHP_FUNCTION(snmpset) { * tab-width: 4 * c-basic-offset: 4 * End: -*/
\ No newline at end of file +*/ |
