From 50cc9f757b4debd161b1c816182b5f2b06ea03eb Mon Sep 17 00:00:00 2001 From: matt Date: Mon, 14 Nov 2005 10:21:39 +0000 Subject: [PATCH] Don't die on me now! Fixes #1631 git-svn-id: http://svn.automattic.com/wordpress/trunk@3083 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/rss-functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/rss-functions.php b/wp-includes/rss-functions.php index e01fba114..df2526ec7 100644 --- a/wp-includes/rss-functions.php +++ b/wp-includes/rss-functions.php @@ -40,12 +40,12 @@ class MagpieRSS { # if PHP xml isn't compiled in, die # if ( !function_exists('xml_parser_create') ) - die( "Failed to load PHP's XML Extension. http://www.php.net/manual/en/ref.xml.php" ); + trigger_error( "Failed to load PHP's XML Extension. http://www.php.net/manual/en/ref.xml.php" ); $parser = @xml_parser_create(); if ( !is_resource($parser) ) - die( "Failed to create an instance of PHP's XML parser. http://www.php.net/manual/en/ref.xml.php"); + trigger_error( "Failed to create an instance of PHP's XML parser. http://www.php.net/manual/en/ref.xml.php"); $this->parser = $parser;