Browse Source

recommended changes

PHP-4.0.5
Colin Viebrock 27 years ago
parent
commit
34ba0394cb
  1. 3
      ext/gd/gd.c
  2. 2
      ext/pdf/pdf.c

3
ext/gd/gd.c

@ -255,6 +255,9 @@ PHP_MINFO_FUNCTION(gd)
#endif
#ifdef HAVE_GD_PNG
php_info_print_table_row(2, "PNG Support", "enabled");
#endif
#ifdef HAVE_GD_JPG
php_info_print_table_row(2, "JPG Support", "enabled");
#endif
php_info_print_table_end();
}

2
ext/pdf/pdf.c

@ -241,7 +241,7 @@ PHP_MINFO_FUNCTION(pdf)
char tmp[32];
snprintf(tmp, 31, "%d.%02d", PDF_get_majorversion(), PDF_get_minorversion() );
tmp[32]=0;
tmp[31]=0;
php_info_print_table_start();
php_info_print_table_row(2, "PDF Support", "enabled" );

Loading…
Cancel
Save