From db6bb6a36917e259fa655a8d8543daaa7199988a Mon Sep 17 00:00:00 2001 From: Martin Bean Date: Thu, 28 Jan 2016 15:38:52 +0000 Subject: [PATCH] Make Memcached options configurable. --- config/cache.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/cache.php b/config/cache.php index 379135b0..b00a9989 100644 --- a/config/cache.php +++ b/config/cache.php @@ -51,7 +51,9 @@ 'driver' => 'memcached', 'servers' => [ [ - 'host' => '127.0.0.1', 'port' => 11211, 'weight' => 100, + 'host' => env('MEMCACHED_HOST', '127.0.0.1'), + 'port' => env('MEMCACHED_PORT', 11211), + 'weight' => 100, ], ], ],