diff --git a/library/includes/api/sphinx.php b/library/includes/api/sphinx.php index 68b29869e..ea9fa86fd 100644 --- a/library/includes/api/sphinx.php +++ b/library/includes/api/sphinx.php @@ -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 $ // \ No newline at end of file