mirror of
https://github.com/php/php-src.git
synced 2024-11-26 11:23:47 +08:00
Beutify phpinfo() output.
This commit is contained in:
parent
60ad79335c
commit
9ce123076f
@ -90,6 +90,7 @@ if test "$PHP_IMAP" != "no"; then
|
||||
fi
|
||||
|
||||
if test "$PHP_KERBEROS" != "no"; then
|
||||
AC_DEFINE(HAVE_IMAP_KRB,1,[ ])
|
||||
PHP_ADD_LIBPATH($PHP_KERBEROS_LIBDIR, IMAP_SHARED_LIBADD)
|
||||
PHP_ADD_LIBRARY(com_err,, IMAP_SHARED_LIBADD)
|
||||
PHP_ADD_LIBRARY(k5crypto,, IMAP_SHARED_LIBADD)
|
||||
|
@ -387,11 +387,19 @@ void mail_free_messagelist(MESSAGELIST **msglist)
|
||||
PHP_MINFO_FUNCTION(imap)
|
||||
{
|
||||
php_info_print_table_start();
|
||||
php_info_print_table_row(2, "IMAP Support", "enabled");
|
||||
#ifdef IMAP41
|
||||
php_info_print_table_header(2, "IMAP Support", "enabled" );
|
||||
#if HAVE_IMAP2000
|
||||
php_info_print_table_row(2, "IMAP c-Client Version", "2000");
|
||||
#elif IMAP41
|
||||
php_info_print_table_row(2, "IMAP c-Client Version", "4.1");
|
||||
#else
|
||||
php_info_print_table_row(2, "IMAP c-Client Version", "4.0");
|
||||
#endif
|
||||
#if HAVE_IMAP_SSL
|
||||
php_info_print_table_row(2, "SSL Support", "enabled");
|
||||
#endif
|
||||
#if HAVE_IMAP_KRB
|
||||
php_info_print_table_row(2, "Kerberos Support", "enabled");
|
||||
#endif
|
||||
php_info_print_table_end();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user