summaryrefslogtreecommitdiff
path: root/program/lib/Roundcube/rcube.php
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2013-06-05 09:10:08 +0200
committerThomas Bruederli <thomas@roundcube.net>2013-06-05 09:10:08 +0200
commit42de33c7dee0dc48e54d317eefd4dac18c317e42 (patch)
treecb2c793151edcbddb1229f5b09d8c75a1d3768c4 /program/lib/Roundcube/rcube.php
parent9749da9fcc149266323df7dd2b8fb9406e37ca1b (diff)
Add option to use PHP's native session save handlers
Diffstat (limited to 'program/lib/Roundcube/rcube.php')
-rw-r--r--program/lib/Roundcube/rcube.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/program/lib/Roundcube/rcube.php b/program/lib/Roundcube/rcube.php
index 4471acec0..4e3f8fcf4 100644
--- a/program/lib/Roundcube/rcube.php
+++ b/program/lib/Roundcube/rcube.php
@@ -457,7 +457,6 @@ class rcube
ini_set('session.name', $sess_name ? $sess_name : 'roundcube_sessid');
ini_set('session.use_cookies', 1);
ini_set('session.use_only_cookies', 1);
- ini_set('session.serialize_handler', 'php');
ini_set('session.cookie_httponly', 1);
// use database for storing session data
@@ -471,7 +470,7 @@ class rcube
// start PHP session (if not in CLI mode)
if ($_SERVER['REMOTE_ADDR']) {
- session_start();
+ $this->session->start();
}
}