cvs: php4 /ext/domxml php_domxml.c
| From: | Christian Stocker | Date: | Thu, 22 Aug 2002 14:32:44 +0000 |
| Subject: | cvs: php4 /ext/domxml php_domxml.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-13568@lists.php.net to get a copy of this message | ||
chregu Thu Aug 22 10:32:44 2002 EDT
Modified files:
/php4/ext/domxml php_domxml.c
Log:
return version number of linked libxml2, not of the one, which it was
compiled against
Index: php4/ext/domxml/php_domxml.c
diff -u php4/ext/domxml/php_domxml.c:1.198 php4/ext/domxml/php_domxml.c:1.199
--- php4/ext/domxml/php_domxml.c:1.198 Wed Aug 21 20:43:18 2002
+++ php4/ext/domxml/php_domxml.c Thu Aug 22 10:32:43 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_domxml.c,v 1.198 2002/08/22 00:43:18 sniper Exp $ */
+/* $Id: php_domxml.c,v 1.199 2002/08/22 14:32:43 chregu Exp $ */
/* TODO
* - Support Notation Nodes
@@ -4902,7 +4902,7 @@
Get XML library version */
PHP_FUNCTION(domxml_version)
{
- RETURN_STRING(LIBXML_DOTTED_VERSION, 1);
+ RETURN_STRING(xmlParserVersion,1);
}
/* }}} */
@@ -5179,7 +5179,7 @@
Get XSLT library version */
PHP_FUNCTION(domxml_xslt_version)
{
- RETURN_STRING(LIBXSLT_DOTTED_VERSION, 1);
+ RETURN_LONG(xsltLibxsltVersion);
}
/* }}} */
#endif /* HAVE_DOMXSLT */