summaryrefslogtreecommitdiffstats
path: root/application/config
diff options
context:
space:
mode:
Diffstat (limited to 'application/config')
-rw-r--r--application/config/memcached.php22
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