/** * Open Connection to redis * * @param [type] $save_path [description] * @param [type] $session_name [description] * @return [type] [description] */ public function open($save_path, $session_name) { try { $this->database = Database::connect('default'); $this->database->connect(); } catch (Exception $e) { return JError::raiseError(500, $e->getMessage()); } }
/** * Open the SessionHandler backend. * * @param string $save_path The path to the session object. * @param string $name The name of the session. * @return boolean True on success, false otherwise. */ public function open($save_path, $name) { $this->database = Database::connect('default'); $this->database->connect(); }