mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-10-07 22:00:59 +02:00
add sanity check for DOMDocument
This commit is contained in:
parent
592f033943
commit
76a259c20a
@ -147,6 +147,10 @@
|
||||
$err_msg = "PUBSUBHUBBUB_HUB is defined, but CURL functions are not found. CURL is required for PubSubHubbub support.";
|
||||
}
|
||||
|
||||
if (!class_exists("DOMDocument")) {
|
||||
$err_msg = "PHP: DOMDocument extension not found.";
|
||||
}
|
||||
|
||||
if ($err_msg) {
|
||||
print "<b>Fatal Error</b>: $err_msg\n";
|
||||
exit;
|
||||
|
Loading…
x
Reference in New Issue
Block a user