aboutsummaryrefslogtreecommitdiff
path: root/lib/SimplePie
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-08-28 16:35:54 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-08-28 16:35:54 +0200
commitccecebc2b467ae381a2364a70ae2a916bdcf22be (patch)
tree8f0ff70f22b6b4659dc92015c284963d3cbf0a35 /lib/SimplePie
parent3d7231be57b5ed4d6f0690474419203117d0d717 (diff)
SimplePie error message XML PCRE
https://github.com/FreshRSS/FreshRSS/issues/1227
Diffstat (limited to 'lib/SimplePie')
-rw-r--r--lib/SimplePie/SimplePie.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/SimplePie/SimplePie.php b/lib/SimplePie/SimplePie.php
index 8af55c9fd..8026fb149 100644
--- a/lib/SimplePie/SimplePie.php
+++ b/lib/SimplePie/SimplePie.php
@@ -1304,6 +1304,7 @@ class SimplePie
// Check absolute bare minimum requirements.
if (!extension_loaded('xml') || !extension_loaded('pcre'))
{
+ $this->error = 'XML and 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.