Gustav Bertram | d08a510 | 2011-11-14 15:10:41 +0200 | [diff] [blame] | 1 | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); |
| 2 | /* |
| 3 | | ------------------------------------------------------------------------- |
| 4 | | Memcached settings |
| 5 | | ------------------------------------------------------------------------- |
Gustav Bertram | ee04a1c | 2011-11-14 15:19:21 +0200 | [diff] [blame^] | 6 | | To add another server, just add another set in the array. |
| 7 | | |
| 8 | | NOTE: Memcached doesn't seem to like hostnames. Try using an IP first. |
| 9 | | -GWB |
Gustav Bertram | d08a510 | 2011-11-14 15:10:41 +0200 | [diff] [blame] | 10 | | |
| 11 | */ |
| 12 | |
Gustav Bertram | ee04a1c | 2011-11-14 15:19:21 +0200 | [diff] [blame^] | 13 | $config = array( |
| 14 | 'default' => array( |
| 15 | 'hostname' => '127.0.0.1', |
| 16 | 'port' => '11211', |
| 17 | 'weight' => '1', |
| 18 | ), |
Gustav Bertram | d08a510 | 2011-11-14 15:10:41 +0200 | [diff] [blame] | 19 | ); |
| 20 | |
| 21 | /* End of file memcached.php */ |
| 22 | /* Location: ./application/config/memcached.php */ |