Merge pull request #3640 from martinbean/patch-1

[5.2] Make Memcached options configurable.
This commit is contained in:
Taylor Otwell 2016-01-29 13:17:29 -06:00
commit 01e3d8f288
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,
],
],
],