]> granicus.if.org Git - php/commitdiff
set errorhandler to generic php_libxml_error_handler
authorChristian Stocker <chregu@php.net>
Sun, 25 Jul 2004 08:37:39 +0000 (08:37 +0000)
committerChristian Stocker <chregu@php.net>
Sun, 25 Jul 2004 08:37:39 +0000 (08:37 +0000)
ext/xsl/php_xsl.c

index 44908be596dacdf660c767e2bab43bf1619ba7e3..ff62618ff875f61b4f09c9670c6286d5479c2d05 100644 (file)
@@ -285,6 +285,7 @@ PHP_MSHUTDOWN_FUNCTION(xsl)
  */
 PHP_RINIT_FUNCTION(xsl)
 {
+       xsltSetGenericErrorFunc(NULL, php_libxml_error_handler);
        return SUCCESS;
 }
 /* }}} */
@@ -294,6 +295,7 @@ PHP_RINIT_FUNCTION(xsl)
  */
 PHP_RSHUTDOWN_FUNCTION(xsl)
 {
+       xsltSetGenericErrorFunc(NULL, NULL);
        return SUCCESS;
 }
 /* }}} */