/** * @param string $savePath * @param string $sessionName * * @return bool */ public function open($savePath, $sessionName) { if (null !== $this->_options['handler']) { return true; } $dbHandler = Linger::D($this->_options['DRIVER'] . ':' . $this->_options['TABLE']); if (!$dbHandler) { return false; } $this->_options['handler'] = $dbHandler; $this->gc(null); return true; }