summaryrefslogtreecommitdiffstats
path: root/application/config/memcached.php
diff options
context:
space:
mode:
authorGustav Bertram <gustav.bertram@gmail.com>2011-11-14 14:10:41 +0100
committerGustav Bertram <gustav.bertram@gmail.com>2011-11-14 14:10:41 +0100
commitd08a51047ac462ddc90ddd460fc424683aa8dc84 (patch)
tree83bcdef3edc3a27fed128969cb62d7bd0e09e0ea /application/config/memcached.php
parent1b8d2e48fadedb8b376a9b1acbe6d199dd8af27e (diff)
Adding a default memcached config file - GWB
Diffstat (limited to 'application/config/memcached.php')
-rw-r--r--application/config/memcached.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/application/config/memcached.php b/application/config/memcached.php
new file mode 100644
index 000000000..d2ece65cc
--- /dev/null
+++ b/application/config/memcached.php
@@ -0,0 +1,17 @@
+<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
+/*
+| -------------------------------------------------------------------------
+| Memcached settings
+| -------------------------------------------------------------------------
+| Memcached doesn't seem to like hostnames. Try use an IP first. -GWB
+|
+*/
+
+$config['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