Random cache prefix closes #374

This commit is contained in:
Nabeel Shahzad 2019-11-06 11:31:33 -05:00
parent 8859682366
commit 759979fc10

View File

@ -145,7 +145,7 @@ class ConfigService extends Service
protected function configCacheDriver($opts)
{
// Set the cache prefix
$opts['CACHE_PREFIX'] = $opts['SITE_NAME'].'_';
$opts['CACHE_PREFIX'] = uniqid($opts['SITE_NAME'].'_');
// Figure out what cache driver to initially use, depending on
// what is installed. It won't detect redis or anything, though