mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 08:40:12 +01:00
Added hints for sphinx 2.0.x to system/database/sphinx.php
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
8d0e2c29d8
commit
898a8674e7
@ -63,7 +63,11 @@ class Sphinx {
|
||||
|
||||
$query->exec_time = $time_end - $time_start;
|
||||
|
||||
// Use the commented out line if you still have sphinx 2.0.x
|
||||
// and use select * from in model/search/search.php in line 232
|
||||
$meta = $this->link->prepare("SHOW META LIKE 'total_found'");
|
||||
//$meta = $this->link->prepare("SHOW META");
|
||||
|
||||
$meta->execute();
|
||||
$R = $meta->fetchAll();
|
||||
while(list ($k, $v) = each($R)){
|
||||
|
Loading…
Reference in New Issue
Block a user