Revert "do not include sphinxclient if the class already exists"
This reverts commit 63edc5c631
.
This commit is contained in:
父節點
63edc5c631
當前提交
030b2a31c1
共有 1 個文件被更改,包括 1 次插入 和 3 次删除
|
@ -3850,9 +3850,7 @@
|
|||
}
|
||||
|
||||
function sphinx_search($query, $offset = 0, $limit = 30) {
|
||||
|
||||
if (!class_exists("SphinxClient"))
|
||||
require_once 'lib/sphinxapi.php';
|
||||
require_once 'lib/sphinxapi.php';
|
||||
|
||||
$sphinxClient = new SphinxClient();
|
||||
|
||||
|
|
載入中…
Reference in a new issue