]> git.wh0rd.org - tt-rss.git/blobdiff - include/sanity_check.php
add a sanity check for system sphinx client which conflicts with the bundled one
[tt-rss.git] / include / sanity_check.php
index a9ba663a938e0eecd4f1733e5829e6967232d896..f3621da6f80cfc21f3eeafdbaa17dcd5cc8bd628 100644 (file)
                                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.");
                        }