summaryrefslogtreecommitdiff
path: root/include/sanity_check.php
diff options
context:
space:
mode:
authorRob Hoelz <[email protected]>2014-04-14 23:18:33 -0500
committerAndrew Dolgov <[email protected]>2014-04-23 04:49:54 +0000
commitbaaf4c3043f428ec009dd48b85e1c2d6cb8abee4 (patch)
tree7bdf437023fad735a58d149c4177b70b20630b97 /include/sanity_check.php
parent87ddd5e1f9465a24fdb087356e31ab8fe73bdf0a (diff)
Make search mechanism pluggable
Currently, TinyTinyRSS can use raw SQL or the Sphinx search engine for searching. It would be nice if other search engines (such as Xapian) could be used, or if features of the underlying SQL engine (such as MySQL's FULLTEXT indexes) could be leveraged. This commit makes searching into a plugin hook, falling back to the builtin behavior if no search plugin is active. The Sphinx search behavior has been broken out into a plugin.
Diffstat (limited to 'include/sanity_check.php')
-rw-r--r--include/sanity_check.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/sanity_check.php b/include/sanity_check.php
index 1aa581bfc..6bec43051 100644
--- a/include/sanity_check.php
+++ b/include/sanity_check.php
@@ -146,11 +146,6 @@
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.");
}