diff --git a/www-api/app/Controllers/BaseController.php b/www-api/app/Controllers/BaseController.php index 2337a2cc..2c36ea28 100644 --- a/www-api/app/Controllers/BaseController.php +++ b/www-api/app/Controllers/BaseController.php @@ -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");