Skip to content

Commit

Permalink
without array number, it's easier to configure a lot of redis instances
Browse files Browse the repository at this point in the history
  • Loading branch information
DaRaFF committed Mar 2, 2013
1 parent cc16841 commit 9753c7f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions includes/config.inc.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@


$config = array( $config = array(
'servers' => array( 'servers' => array(
0 => array( array(
'name' => 'local server', // Optional name. 'name' => 'local server', // Optional name.
'host' => '127.0.0.1', 'host' => '127.0.0.1',
'port' => 6379, 'port' => 6379,
Expand All @@ -12,12 +12,12 @@
//'auth' => 'redispasswordhere' // Warning: The password is sent in plain-text to the Redis server. //'auth' => 'redispasswordhere' // Warning: The password is sent in plain-text to the Redis server.
), ),


/*1 => array( /*array(
'host' => 'localhost', 'host' => 'localhost',
'port' => 6380 'port' => 6380
),*/ ),*/


/*2 => array( /*array(
'name' => 'local db 2', 'name' => 'local db 2',
'host' => 'localhost', 'host' => 'localhost',
'port' => 6379, 'port' => 6379,
Expand Down

0 comments on commit 9753c7f

Please sign in to comment.