add a sanity check for system sphinx client which conflicts with the bundled one
This commit is contained in:
parent
030b2a31c1
commit
55c773e893
|
@ -150,6 +150,11 @@
|
||||||
array_push($errors, "PHP support for CURL is required for PubSubHubbub.");
|
array_push($errors, "PHP support for CURL is required for PubSubHubbub.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (SPHINX_ENABLED && class_exists("SphinxClient")) {
|
||||||
|
array_push($errors, "Your PHP has a separate systemwide Sphinx client installed which conflicts with the client library used by tt-rss. Either remove the system library or disable Sphinx support.");
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
if (!class_exists("DOMDocument")) {
|
if (!class_exists("DOMDocument")) {
|
||||||
array_push($errors, "PHP support for DOMDocument is required, but was not found.");
|
array_push($errors, "PHP support for DOMDocument is required, but was not found.");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue