diff options
author | alecpl <alec@alec.pl> | 2010-03-01 19:04:34 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-03-01 19:04:34 +0000 |
commit | 929a508d801d9434c8d98dccd0311e3a707303ba (patch) | |
tree | 3219bab9df6bb5d09aaf1cd5d6ba69e794678406 /program/include/iniset.php | |
parent | a72ad657241fd35ae7e0f2cbdec210caa9554695 (diff) |
- Improve performance by avoiding unnecessary updates to the session table (#1486325)
Diffstat (limited to 'program/include/iniset.php')
-rwxr-xr-x | program/include/iniset.php | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/program/include/iniset.php b/program/include/iniset.php index 94d49d8aa..82ec49f19 100755 --- a/program/include/iniset.php +++ b/program/include/iniset.php @@ -52,15 +52,6 @@ if (set_include_path($include_path) === false) { } ini_set('error_reporting', E_ALL&~E_NOTICE); -if (!empty($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) != 'off') { - ini_set('session.cookie_secure', 1); -} else { - ini_set('session.cookie_secure', 0); -} -ini_set('session.name', 'roundcube_sessid'); -ini_set('session.use_cookies', 1); -ini_set('session.use_only_cookies', 1); -ini_set('session.serialize_handler', 'php'); // increase maximum execution time for php scripts // (does not work in safe mode) |