]> granicus.if.org Git - php/commitdiff
Hopefully get correct display of version information.
authorSebastian Bergmann <sebastian@php.net>
Sun, 25 May 2003 07:23:41 +0000 (07:23 +0000)
committerSebastian Bergmann <sebastian@php.net>
Sun, 25 May 2003 07:23:41 +0000 (07:23 +0000)
ext/xml/xml.c

index dea6f66f5cc9271c03d62bbf9f7b9786982dc3bd..d7324e05bd4320c08686eacc047628ab720d35e0 100644 (file)
@@ -261,7 +261,11 @@ PHP_MINFO_FUNCTION(xml)
        php_info_print_table_start();
        php_info_print_table_row(2, "XML Support", "active");
        php_info_print_table_row(2, "XML Namespace Support", "active");
-       php_info_print_table_row(2, "EXPAT Version",XML_ExpatVersion());
+#ifdef LIBXML_DOTTED_VERSION
+       php_info_print_table_row(2, "libxml2 Version", LIBXML_DOTTED_VERSION);
+#else
+       php_info_print_table_row(2, "EXPAT Version", XML_ExpatVersion());
+#endif
        php_info_print_table_end();
 }
 /* }}} */