Skip to content

Commit 87c6872

Browse files
committed
redis config
1 parent 758dcef commit 87c6872

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

library/BaseRedis.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ public static function message()
8585
{
8686
try {
8787
$_connectSource = self::instance()
88-
->connect(RedisConfig::$location['host'], RedisConfig::$message['host']);
88+
->connect(RedisConfig::$message['host'], RedisConfig::$message['port']);
8989
if (RedisConfig::$message['password'] != '') {
90-
self::instance()->auth(RedisConfig::$message['auth']);
90+
self::instance()->auth(RedisConfig::$message['password']);
9191
}
9292
if ($_connectSource === FALSE) return FALSE;
9393
return static::$_instance;
@@ -97,7 +97,7 @@ public static function message()
9797
}
9898

9999
/**
100-
* Location Instance 实例
100+
* Location 实例
101101
* @return \Redis
102102
* @static
103103
*/

0 commit comments

Comments
 (0)