inititlialize cache

This commit is contained in:
CHIEFSOFT\ameye
2024-10-05 05:47:31 -04:00
parent 1c00b5608c
commit bb34455bd3
+3 -1
View File
@@ -66,9 +66,11 @@ abstract class BaseController extends Controller
$this->server_tag = $this->getSiteConfigurations("system.server_tag");
$this->micro_service_net1 = $this->getSiteConfigurations("system.micro_service_net1"); //"10.10.1
$this->user_server_name = $this->getSiteConfigurations("system.server_name"); // 'https://dev-users.wrenchboard.com';
$appConfig = config('Cache');
$appConfig->redis['host'] = $this->getSiteConfigurations("system.cache_host");
cache()->initialize($appConfig);
// var_dump($appConfig->redis['host']);
// exit();
//$this->cache_server = $this->getSiteConfigurations("system.cache_host");