mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-06-17 07:10:48 +03:00
fix sphinx for 0.9.9 version
This commit is contained in:
parent
8eb2e75ad9
commit
c1053aba62
|
@ -13,6 +13,10 @@ class LsSphinx extends Module {
|
|||
*
|
||||
*/
|
||||
public function Init() {
|
||||
$this->InitSphinx();
|
||||
}
|
||||
|
||||
protected function InitSphinx() {
|
||||
/**
|
||||
* Получаем объект Сфинкса(из Сфинкс АПИ)
|
||||
*/
|
||||
|
@ -55,6 +59,7 @@ class LsSphinx extends Module {
|
|||
*/
|
||||
$cacheKey = Config::Get('module.search.entity_prefix')."searchResult_{$sObjType}_{$sTerms}_{$iOffset}_{$iLimit}";
|
||||
if (false === ($data = $this->Cache_Get($cacheKey))) {
|
||||
$this->InitSphinx();
|
||||
/**
|
||||
* Параметры поиска
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue