summaryrefslogtreecommitdiffstats
path: root/application/config/example/memcached.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/config/example/memcached.php')
-rw-r--r--application/config/example/memcached.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/application/config/example/memcached.php b/application/config/example/memcached.php
new file mode 100644
index 000000000..29b145ec8
--- /dev/null
+++ b/application/config/example/memcached.php
@@ -0,0 +1,17 @@
+<?php
+
+$config = array(
+ "default" => array(
+ "hostname" => "127.0.0.1",
+ "port" => 11211,
+ "weight" => 1,
+ ),
+ "socket" => array(
+ "hostname" => FCPATH.'/memcached.sock',
+ "port" => 0,
+ "weight" => 2,
+ ),
+);
+
+
+?>