mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-21 23:52:31 -05:00
Use the APP_NAME to set the cache prefix
This commit is contained in:
parent
86c2a6e3f0
commit
87c3478c74
2 changed files with 4 additions and 2 deletions
|
@ -19,7 +19,6 @@ DB_DATABASE=hypothetical
|
|||
DB_USERNAME=homestead
|
||||
DB_PASSWORD=secret
|
||||
|
||||
CACHE_NAME=hypothetical
|
||||
CACHE_DRIVER=file
|
||||
BROADCAST_DRIVER=log
|
||||
SESSION_DRIVER=file
|
||||
|
|
|
@ -86,6 +86,9 @@ return [
|
|||
|
|
||||
*/
|
||||
|
||||
'prefix' => env('CACHE_NAME', 'hypothetical'),
|
||||
'prefix' => env(
|
||||
'CACHE_PREFIX',
|
||||
str_slug(env('APP_NAME', 'hypothetical'), '_').'_cache'
|
||||
),
|
||||
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue