redis convert

This commit is contained in:
CHIEFSOFT\ameye
2024-07-04 17:00:17 -04:00
parent 9446a704b3
commit 31293558d1
+10 -10
View File
@@ -53,16 +53,16 @@ abstract class BaseController extends Controller
$this->cache_tag = $this->getSiteConfigurations("system.cache_tag");
$this->cache_server = $this->getSiteConfigurations("system.cache_host");
$redis = [
'host' => $this->cache_server,
'password' => '7f079034e166ecf52d82cbec9876e4dc8a154b0c37248f3fa1734d4eeab938d5',
'port' => 6378,
'timeout' => 0,
'database' => 0,
'prefix' => 'WRB',
];
//$this->load->driver('cache', $redis);
// $redis = [
// 'host' => $this->cache_server,
// 'password' => '7f079034e166ecf52d82cbec9876e4dc8a154b0c37248f3fa1734d4eeab938d5',
// 'port' => 6378,
// 'timeout' => 0,
// 'database' => 0,
// 'prefix' => 'WRB',
// ];
// //$this->load->driver('cache', $redis);
}
public function getIpData(){