Permalink
Browse files

without array number, it's easier to configure a lot of redis instances

  • Loading branch information...
1 parent cc16841 commit 9753c7fb0a47394a7973758c4125987ab0e0b084 @DaRaFF DaRaFF committed Mar 2, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 includes/config.inc.php
View
@@ -2,7 +2,7 @@
$config = array(
'servers' => array(
- 0 => array(
+ array(
'name' => 'local server', // Optional name.
'host' => '127.0.0.1',
'port' => 6379,
@@ -12,12 +12,12 @@
//'auth' => 'redispasswordhere' // Warning: The password is sent in plain-text to the Redis server.
),
- /*1 => array(
+ /*array(
'host' => 'localhost',
'port' => 6380
),*/
- /*2 => array(
+ /*array(
'name' => 'local db 2',
'host' => 'localhost',
'port' => 6379,

0 comments on commit 9753c7f

Please sign in to comment.