Update ConfigCacheService, fix db issue

pull/2753/head
Daniel Supernault 4 years ago
parent b9054f6fd2
commit d2cb7d4770
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -44,6 +44,10 @@ class ConfigCacheService
'uikit.show_custom.js'
];
if(!config('instance.enable_cc')) {
return config($key);
}
if(!in_array($key, $allowed)) {
return config($key);
}

@ -72,4 +72,6 @@ return [
'org' => env('COVID_LABEL_ORG', 'visit the WHO website')
]
],
'enable_cc' => env('ENABLE_CONFIG_CACHE', false)
];

Loading…
Cancel
Save