cvs: php-src /ext/xsl php_xsl.c

From: Date: Sun, 25 Jul 2004 08:37:39 +0000
Subject: cvs: php-src /ext/xsl php_xsl.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-27988@lists.php.net to get a copy of this message
chregu Sun Jul 25 04:37:39 2004 EDT Modified files: /php-src/ext/xsl php_xsl.c Log: set errorhandler to generic php_libxml_error_handler http://cvs.php.net/diff.php/php-src/ext/xsl/php_xsl.c?r1=1.22&r2=1.23&ty=u Index: php-src/ext/xsl/php_xsl.c diff -u php-src/ext/xsl/php_xsl.c:1.22 php-src/ext/xsl/php_xsl.c:1.23 --- php-src/ext/xsl/php_xsl.c:1.22 Mon Jul 12 09:04:01 2004 +++ php-src/ext/xsl/php_xsl.c Sun Jul 25 04:37:39 2004 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_xsl.c,v 1.22 2004/07/12 13:04:01 chregu Exp $ */ +/* $Id: php_xsl.c,v 1.23 2004/07/25 08:37:39 chregu Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -285,6 +285,7 @@ */ PHP_RINIT_FUNCTION(xsl) { + xsltSetGenericErrorFunc(NULL, php_libxml_error_handler); return SUCCESS; } /* }}} */ @@ -294,6 +295,7 @@ */ PHP_RSHUTDOWN_FUNCTION(xsl) { + xsltSetGenericErrorFunc(NULL, NULL); return SUCCESS; } /* }}} */

« previous php.cvs (#27988) next »