From: Christian Stocker Date: Sun, 25 Jul 2004 08:37:39 +0000 (+0000) Subject: set errorhandler to generic php_libxml_error_handler X-Git-Tag: PRE_ZEND_VM_DISPATCH_PATCH~379 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6bd845e365a239479b3fc952da968d34bdaf2557;p=php set errorhandler to generic php_libxml_error_handler --- diff --git a/ext/xsl/php_xsl.c b/ext/xsl/php_xsl.c index 44908be596..ff62618ff8 100644 --- a/ext/xsl/php_xsl.c +++ b/ext/xsl/php_xsl.c @@ -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; } /* }}} */