| | |
| | | <?php |
| | | |
| | | /* |
| | | /** |
| | | +-----------------------------------------------------------------------+ |
| | | | This file is part of the Roundcube Webmail client | |
| | | | Copyright (C) 2005-2014, The Roundcube Dev Team | |
| | |
| | | */ |
| | | class rcube_session_php extends rcube_session { |
| | | |
| | | |
| | | /** |
| | | * native php sessions don't need a save handler |
| | | * we do need to define abstract function implementations but they are not used. |
| | |
| | | public function write($key, $vars) {} |
| | | public function update($key, $newvars, $oldvars) {} |
| | | |
| | | /** |
| | | * @param Object $config |
| | | */ |
| | | public function __construct($config) |
| | | { |
| | | parent::__construct($config); |
| | | } |
| | | |
| | | /** |
| | | * Wrapper for session_write_close() |
| | |
| | | /** |
| | | * Wrapper for session_start() |
| | | */ |
| | | public function start($config) |
| | | public function start() |
| | | { |
| | | parent::start($config); |
| | | parent::start(); |
| | | |
| | | $this->key = session_id(); |
| | | $this->ip = $_SESSION['__IP']; |
| | | $this->changed = $_SESSION['__MTIME']; |
| | | |
| | | } |
| | | |
| | | } |
| | | } |