application/library/RedisCache.php
@@ -36,7 +36,7 @@ $this->_TIMEOUT = 0; $this->_DBNAME = null; $this->_CTYPE = 1; $this->_AUTH = $config['auth']; if (!isset($this->_REDIS)) { $this->_REDIS = new Redis(); $this->connect($this->_HOST, $this->_PORT, $this->_TIMEOUT, $this->_DBNAME, $this->_CTYPE); @@ -58,6 +58,7 @@ default: break; } $this->_REDIS->auth($this->_AUTH); } /** @@ -927,4 +928,4 @@ { return $this->_TRANSCATION->discard(); } } }