Make Memcached options configurable.

This commit is contained in:
Martin Bean 2016-01-28 15:38:52 +00:00
parent eb59458d17
commit db6bb6a369
1 changed files with 3 additions and 1 deletions

View File

@ -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,
],
],
],