Aleksander Machniak
2016-01-16 ed1d212ae2daea5e4bd043417610177093e99f19
program/lib/Roundcube/rcube_session_php.php
@@ -1,6 +1,6 @@
<?php
/*
/**
 +-----------------------------------------------------------------------+
 | This file is part of the Roundcube Webmail client                     |
 | Copyright (C) 2005-2014, The Roundcube Dev Team                       |
@@ -30,7 +30,6 @@
 */
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.
@@ -43,6 +42,13 @@
    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()
@@ -58,14 +64,13 @@
    /**
     * 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'];
    }
}
}