OSDN Git Service

Cachemanager を,Abstract を利用するように変更
[ethna/ethna.git] / skel / etc.ini.php
index 48e4369..e4bdc9d 100644 (file)
@@ -54,27 +54,6 @@ $config = array(
     //'log_filter_do'         => '',
     //'log_filter_ignore'     => 'Undefined index.*%%.*tpl',
 
-    // memcache
-    // sample-1: single (or default) memcache
-    // 'memcache_host' => 'localhost',
-    // 'memcache_port' => 11211,
-    // 'memcache_use_pconnect' => false,
-    // 'memcache_retry' => 3,
-    // 'memcache_timeout' => 3,
-    //
-    // sample-2: multiple memcache servers (distributing w/ namespace and ids)
-    // 'memcache' => array(
-    //     'namespace1' => array(
-    //         0 => array(
-    //             'memcache_host' => 'cache1.example.com',
-    //             'memcache_port' => 11211,
-    //         ),
-    //         1 => array(
-    //             'memcache_host' => 'cache2.example.com',
-    //             'memcache_port' => 11211,
-    //         ),
-    //     ),
-    // ),
 
     // i18n
     //'use_gettext' => false,
@@ -85,4 +64,34 @@ $config = array(
     // csrf
     // 'csrf' => 'Session',
 );
+
+$config['plugin'] = array(
+    // plugin config
+    //'type' => array(
+    //),
+
+    // memcache
+    // sample-1: single (or default) memcache
+    'memcache' => array(
+        // 'host' => 'localhost',
+        // 'port' => 11211,
+        // 'use_pconnect' => false,
+        // 'retry' => 3,
+        // 'timeout' => 3,
+
+        // sample-2: multiple memcache servers (distributing w/ namespace and ids)
+        'info' => array(
+           'namespace1' => array(
+               0 => array(
+                   'host' => 'cache1.example.com',
+                   'port' => 11211,
+               ),
+               1 => array(
+                   'host' => 'cache2.example.com',
+                   'port' => 11211,
+               ),
+           ),
+        ),
+    ),
+);
 ?>