diff options
author | Gustav Bertram <gustav.bertram@gmail.com> | 2011-11-14 14:19:21 +0100 |
---|---|---|
committer | Gustav Bertram <gustav.bertram@gmail.com> | 2011-11-14 14:19:21 +0100 |
commit | ee04a1c8e25cc98aa5e68b328074efe6d6abf222 (patch) | |
tree | 0812940423cce2311bb727a00494b90bc3bb7485 | |
parent | d08a51047ac462ddc90ddd460fc424683aa8dc84 (diff) |
Adding a default memcached config file - GWB
-rw-r--r-- | application/config/memcached.php | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/application/config/memcached.php b/application/config/memcached.php index d2ece65cc..1b34aa683 100644 --- a/application/config/memcached.php +++ b/application/config/memcached.php @@ -3,14 +3,19 @@ | ------------------------------------------------------------------------- | Memcached settings | ------------------------------------------------------------------------- -| Memcached doesn't seem to like hostnames. Try use an IP first. -GWB +| To add another server, just add another set in the array. +| +| NOTE: Memcached doesn't seem to like hostnames. Try using an IP first. +| -GWB | */ -$config['default'] = array( - 'hostname' => '127.0.0.1', - 'port' => '11211', - 'weight' => '1' +$config = array( + 'default' => array( + 'hostname' => '127.0.0.1', + 'port' => '11211', + 'weight' => '1', + ), ); /* End of file memcached.php */ |