diff options
author | Pierre Joye <pajoye@php.net> | 2005-12-26 00:56:41 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2005-12-26 00:56:41 +0000 |
commit | 41284d17b03d23ef1d4305ecc70f19e0fa53b268 (patch) | |
tree | f55ed8f474200c0f4730105780ff110131e9e00e | |
parent | 386581b3f8c6462bf83795003740379100f84c58 (diff) | |
download | php-git-41284d17b03d23ef1d4305ecc70f19e0fa53b268.tar.gz |
- MFH: #35805 add LIBXSLT_VERSION, LIBXSLT_DOTTED_VERSION, LIBEXSLT_VERSION
and LIBEXSLT_DOTTED_VERSION
-rw-r--r-- | ext/xsl/php_xsl.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/xsl/php_xsl.c b/ext/xsl/php_xsl.c index dd0395e41f..4066fd303f 100644 --- a/ext/xsl/php_xsl.c +++ b/ext/xsl/php_xsl.c @@ -170,6 +170,14 @@ PHP_MINIT_FUNCTION(xsl) REGISTER_LONG_CONSTANT("XSL_CLONE_NEVER", -1, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("XSL_CLONE_ALWAYS", 1, CONST_CS | CONST_PERSISTENT); + REGISTER_LONG_CONSTANT("LIBXSLT_VERSION", LIBXSLT_VERSION, CONST_CS | CONST_PERSISTENT); + REGISTER_STRING_CONSTANT("LIBXSLT_DOTTED_VERSION", LIBXSLT_DOTTED_VERSION, CONST_CS | CONST_PERSISTENT); + +#if HAVE_XSL_EXSLT + REGISTER_LONG_CONSTANT("LIBEXSLT_VERSION", LIBEXSLT_VERSION, CONST_CS | CONST_PERSISTENT); + REGISTER_STRING_CONSTANT("LIBEXSLT_DOTTED_VERSION", LIBEXSLT_DOTTED_VERSION, CONST_CS | CONST_PERSISTENT); +#endif + return SUCCESS; } /* }}} */ |