diff options
author | Eric Barnes <eric@ericlbarnes.com> | 2012-01-04 05:33:52 +0100 |
---|---|---|
committer | Eric Barnes <eric@ericlbarnes.com> | 2012-01-04 05:33:52 +0100 |
commit | adc1f44eeb2ae0f205bfcdcf207c0edaf7b7a71c (patch) | |
tree | 9f0e50009ef17559db403f03ba743373b2c91ffb /application | |
parent | 969785528e37c6b77eefc466a02669299141dce5 (diff) | |
parent | ee04a1c8e25cc98aa5e68b328074efe6d6abf222 (diff) |
Merge pull request #668 from GustavBertram/develop
Added a proper default config file for Cache_memcached - GWB
Diffstat (limited to 'application')
-rw-r--r-- | application/config/memcached.php | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/application/config/memcached.php b/application/config/memcached.php new file mode 100644 index 000000000..1b34aa683 --- /dev/null +++ b/application/config/memcached.php @@ -0,0 +1,22 @@ +<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); +/* +| ------------------------------------------------------------------------- +| Memcached settings +| ------------------------------------------------------------------------- +| 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 = array( + 'default' => array( + 'hostname' => '127.0.0.1', + 'port' => '11211', + 'weight' => '1', + ), +); + +/* End of file memcached.php */ +/* Location: ./application/config/memcached.php */
\ No newline at end of file |