diff options
author | Andrew Dolgov <[email protected]> | 2013-07-14 23:32:13 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-07-14 23:32:13 +0400 |
commit | 55c773e8933dc2ed2e767f0e6031894849637297 (patch) | |
tree | e2e09dc2480973462694278805873f913588dea6 /include | |
parent | 030b2a31c1bf502d3e4558ead3153fb92dd4fedd (diff) |
add a sanity check for system sphinx client which conflicts with the bundled one
Diffstat (limited to 'include')
-rw-r--r-- | include/sanity_check.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sanity_check.php b/include/sanity_check.php index a9ba663a9..f3621da6f 100644 --- a/include/sanity_check.php +++ b/include/sanity_check.php @@ -150,6 +150,11 @@ 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")) { array_push($errors, "PHP support for DOMDocument is required, but was not found."); } |