|
|
@@ -22,7 +22,7 @@ class RedisOP
|
|
|
{
|
|
|
if (class_exists ('Redis')) {
|
|
|
$redis = new \Redis();
|
|
|
- $config = include ROOT_PATH . '/Config/redis.php';
|
|
|
+ $config = include ROOT_PATH . '/Config/Redis.php';
|
|
|
if (!isset($config['host'])) return null;//throw new \ErrorException('服务器不存在!');
|
|
|
$host = $config['host'];
|
|
|
$port = isset($config['port']) ? $config['port'] : 6379;
|