summaryrefslogtreecommitdiff
path: root/program/include/rcmail.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2012-04-19 07:02:14 +0000
committeralecpl <alec@alec.pl>2012-04-19 07:02:14 +0000
commit6dc7ce5a0692bf7433a5ab2221457fda4893502a (patch)
treea8879c057e4f91b64eb136521f30af3d053c52de /program/include/rcmail.php
parent753bf7707be210098fa2204cc230b520beeea2eb (diff)
- Fix incorrect cache ttl used in get_cache_engine() (#1488447)
Diffstat (limited to 'program/include/rcmail.php')
-rw-r--r--program/include/rcmail.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php
index a86729156..eec3dd27f 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -966,7 +966,7 @@ class rcmail
$_SESSION['storage_port'] = $port;
$_SESSION['storage_ssl'] = $ssl;
$_SESSION['password'] = $this->encrypt($pass);
- $_SESSION['login_time'] = mktime();
+ $_SESSION['login_time'] = time();
if (isset($_REQUEST['_timezone']) && $_REQUEST['_timezone'] != '_default_')
$_SESSION['timezone'] = floatval($_REQUEST['_timezone']);