summaryrefslogtreecommitdiff
path: root/ext/dba
diff options
context:
space:
mode:
authorColin Viebrock <cmv@php.net>2000-04-05 22:30:19 +0000
committerColin Viebrock <cmv@php.net>2000-04-05 22:30:19 +0000
commit731404c0ba2d8a66bded77feec15bf8ba50099c8 (patch)
tree6410f0d01e6eadb4b22380047d0876f75f25e539 /ext/dba
parent0c2b366ce18ec4927ae31151ad05249c857e2e72 (diff)
downloadphp-git-731404c0ba2d8a66bded77feec15bf8ba50099c8.tar.gz
phpinfo() prettying
I will get to the rest of the functions later tonight or tomorrow (i.e. from hyperwave to snmp)
Diffstat (limited to 'ext/dba')
-rw-r--r--ext/dba/dba.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/dba/dba.c b/ext/dba/dba.c
index 6e40c9c8e9..ab5ebb1dd2 100644
--- a/ext/dba/dba.c
+++ b/ext/dba/dba.c
@@ -34,6 +34,7 @@
#if HAVE_DBA
#include "php_dba.h"
+#include "ext/standard/info.h"
#include "php_gdbm.h"
#include "php_ndbm.h"
@@ -197,6 +198,8 @@ static PHP_MSHUTDOWN_FUNCTION(dba)
static PHP_MINFO_FUNCTION(dba)
{
+ /* could be prettier (cmv) */
+ php_info_print_box_start();
dba_handler *hptr;
PUTS("V1 ($Id$)");
@@ -204,6 +207,7 @@ static PHP_MINFO_FUNCTION(dba)
PUTS(" ");
PUTS(hptr->name);
}
+ php_info_print_box_end();
}
static void php_dba_update(INTERNAL_FUNCTION_PARAMETERS, int mode)