Browse Source

Merge pull request #1 from ThunderBirdsX3/ThunderBirdsX3-patch-1

Update cache prefix.
ThunderbirdsX3 6 years ago
parent
commit
db20630ebf
1 changed files with 4 additions and 1 deletions
  1. 4 1
      config/cache.php

+ 4 - 1
config/cache.php

@@ -86,6 +86,9 @@ return [
     |
     */
 
-    'prefix' => 'laravel',
+    'prefix' => env(
+        'CACHE_PREFIX',
+        str_slug(env('APP_NAME', 'laravel'), '_').'_cache'
+    ),
 
 ];