summaryrefslogtreecommitdiff
path: root/plugins/search_sphinx
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/search_sphinx')
-rw-r--r--plugins/search_sphinx/init.php5
-rw-r--r--plugins/search_sphinx/sphinxapi.php2
2 files changed, 4 insertions, 3 deletions
diff --git a/plugins/search_sphinx/init.php b/plugins/search_sphinx/init.php
index 8520bb0d8..95b7ad676 100644
--- a/plugins/search_sphinx/init.php
+++ b/plugins/search_sphinx/init.php
@@ -5,7 +5,8 @@ class Search_Sphinx extends Plugin {
return array(1.0,
"Delegate searching for articles to Sphinx (don't forget to set options in config.php)",
"hoelzro",
- true);
+ true,
+ "https://git.tt-rss.org/fox/tt-rss/wiki/SphinxSearch");
}
function init($host) {
@@ -61,4 +62,4 @@ class Search_Sphinx extends Plugin {
function api_version() {
return 2;
}
-} \ No newline at end of file
+}
diff --git a/plugins/search_sphinx/sphinxapi.php b/plugins/search_sphinx/sphinxapi.php
index 4d1ed6116..9c53e216a 100644
--- a/plugins/search_sphinx/sphinxapi.php
+++ b/plugins/search_sphinx/sphinxapi.php
@@ -424,7 +424,7 @@ class SphinxClient
/////////////////////////////////////////////////////////////////////////////
/// create a new client object and fill defaults
- function SphinxClient ()
+ function __construct()
{
// per-client-object settings
$this->_host = "localhost";