mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
sphinx fix
This commit is contained in:
parent
7305d1f737
commit
115f1c4cc6
1 changed files with 3 additions and 2 deletions
|
@ -18,7 +18,8 @@ if (!defined('BB_ROOT')) die(basename(__FILE__));
|
|||
/////////////////////////////////////////////////////////////////////////////
|
||||
// PHP version of Sphinx searchd client (PHP API)
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
if(!class_exists('SphinxClient'))
|
||||
{
|
||||
/// known searchd commands
|
||||
define ( "SEARCHD_COMMAND_SEARCH", 0 );
|
||||
define ( "SEARCHD_COMMAND_EXCERPT", 1 );
|
||||
|
@ -1647,7 +1648,7 @@ class SphinxClient extends cache_common
|
|||
return $res;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
//
|
||||
// $Id: sphinxapi.php 2055 2009-11-06 23:09:58Z shodan $
|
||||
//
|
Loading…
Add table
Add a link
Reference in a new issue