From 9abfb5dc88fce5bd0b3ee975c276d34cec4758f6 Mon Sep 17 00:00:00 2001 From: BlueGood <1990tc@gmail.com> Date: Tue, 13 Sep 2016 11:43:31 +0800 Subject: [PATCH] Get cache key prefix from .env Sometimes, development environment and test environment use the same Memcached. --- config/cache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/cache.php b/config/cache.php index 1d3de874cf6..0b95d1291fc 100644 --- a/config/cache.php +++ b/config/cache.php @@ -86,6 +86,6 @@ | */ - 'prefix' => 'laravel', + 'prefix' => env('CACHE_PREFIX', 'laravel'), ];