Merge pull request #4986 from DivineOmega/patch-1

[5.8] Add underscores to cache and redis database prefixes
This commit is contained in:
Taylor Otwell
2019-04-08 07:47:02 -05:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -97,6 +97,6 @@ return [
| |
*/ */
'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_cache'), 'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_cache_'),
]; ];

View File

@@ -119,7 +119,7 @@ return [
'options' => [ 'options' => [
'cluster' => env('REDIS_CLUSTER', 'predis'), 'cluster' => env('REDIS_CLUSTER', 'predis'),
'prefix' => Str::slug(env('APP_NAME', 'laravel'), '_').'_database', 'prefix' => Str::slug(env('APP_NAME', 'laravel'), '_').'_database_',
], ],
'default' => [ 'default' => [