]> git.wh0rd.org Git - tt-rss.git/commitdiff
add a sanity check for system sphinx client which conflicts with the bundled one
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sun, 14 Jul 2013 19:32:13 +0000 (23:32 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sun, 14 Jul 2013 19:32:13 +0000 (23:32 +0400)
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.");
                        }