Skip to content

Commit 9753c7f

Browse files
committed
without array number, it's easier to configure a lot of redis instances
1 parent cc16841 commit 9753c7f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

includes/config.inc.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
$config = array(
44
'servers' => array(
5-
0 => array(
5+
array(
66
'name' => 'local server', // Optional name.
77
'host' => '127.0.0.1',
88
'port' => 6379,
@@ -12,12 +12,12 @@
1212
//'auth' => 'redispasswordhere' // Warning: The password is sent in plain-text to the Redis server.
1313
),
1414

15-
/*1 => array(
15+
/*array(
1616
'host' => 'localhost',
1717
'port' => 6380
1818
),*/
1919

20-
/*2 => array(
20+
/*array(
2121
'name' => 'local db 2',
2222
'host' => 'localhost',
2323
'port' => 6379,

0 commit comments

Comments
 (0)