public function open($path, $name) { $this->expire = C('SESSION_EXPIRE') ? C('SESSION_EXPIRE') : ini_get('session.gc_maxlifetime'); $this->redis = RedisHelper::getInstance(); return $this->redis; //todo 未启用独立的Redis配置 // return $this->redis->connect(C('SESSION_REDIS_HOST'),C('SESSION_REDIS_PORT')); }