Browse Source

SimplePie better message

Alexandre Alapetite 9 years ago
parent
commit
531f6ada99
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/SimplePie/SimplePie.php

+ 1 - 1
lib/SimplePie/SimplePie.php

@@ -1304,7 +1304,7 @@ class SimplePie
 		// Check absolute bare minimum requirements.
 		if (!extension_loaded('xml') || !extension_loaded('pcre'))
 		{
-			$this->error = 'XML and PCRE extensions not loaded!';
+			$this->error = 'XML or PCRE extensions not loaded!';
 			return false;
 		}
 		// Then check the xml extension is sane (i.e., libxml 2.7.x issue on PHP < 5.2.9 and libxml 2.7.0 to 2.7.2 on any version) if we don't have xmlreader.