mirror of
				https://bitbucket.org/jsuto/piler.git
				synced 2025-10-31 22:12:26 +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:
		| @@ -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)){ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user