cache server
This commit is contained in:
@@ -38,7 +38,7 @@ abstract class BaseController extends Controller
|
||||
*/
|
||||
protected $helpers = [];
|
||||
private $cache_tag='NONE';
|
||||
private $cache_server="10.0.0.32";
|
||||
//private $cache_server='10.0.0.32';
|
||||
/**
|
||||
* Constructor.
|
||||
*/
|
||||
@@ -51,7 +51,7 @@ abstract class BaseController extends Controller
|
||||
|
||||
// E.g.: $this->session = \Config\Services::session();
|
||||
$this->cache_tag = $this->getSiteConfigurations("system.cache_tag");
|
||||
$this->cache_server = $this->getSiteConfigurations("system.cache_host");
|
||||
//$this->cache_server = $this->getSiteConfigurations("system.cache_host");
|
||||
|
||||
// $redis = [
|
||||
// 'host' => $this->cache_server,
|
||||
|
||||
Reference in New Issue
Block a user