Don't die on me now! Fixes #1631

git-svn-id: https://develop.svn.wordpress.org/trunk@3083 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2005-11-14 10:21:39 +00:00
parent 81460359c9
commit bfcff70845

View File

@ -40,12 +40,12 @@ class MagpieRSS {
# if PHP xml isn't compiled in, die # if PHP xml isn't compiled in, die
# #
if ( !function_exists('xml_parser_create') ) 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(); $parser = @xml_parser_create();
if ( !is_resource($parser) ) 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; $this->parser = $parser;