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/standard/mail.c | |
parent | 3ba4105fde8739a5d70a9c3818c6a40ca9a55c8a (diff) | |
download | php-git-0c2b366ce18ec4927ae31151ad05249c857e2e72.tar.gz |
phpinfo() prettying
Diffstat (limited to 'ext/standard/mail.c')
-rw-r--r-- | ext/standard/mail.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/standard/mail.c b/ext/standard/mail.c index 4f4938d432..77b8dd0a19 100644 --- a/ext/standard/mail.c +++ b/ext/standard/mail.c @@ -22,6 +22,7 @@ #include <ctype.h> #include <stdio.h> #include "php.h" +#include "ext/standard/info.h" #if !defined(PHP_WIN32) #include "build-defs.h" #endif @@ -135,9 +136,9 @@ int php_mail(char *to, char *subject, char *message, char *headers) PHP_MINFO_FUNCTION(mail) { #ifdef PHP_WIN32 - PUTS("Internal Sendmail support for Windows 4"); + php_info_print_table_row(2, "Internal Sendmail Support for Windows 4", "enabled"); #else - php_printf("Path to sendmail: <tt>%s</tt>", INI_STR("sendmail_path")); + php_info_print_table_row(2, "Path to sendmail", INI_STR("sendmail_path") ); #endif } |