summaryrefslogtreecommitdiff
path: root/program/include/rcmail.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2012-04-19 06:56:52 +0000
committeralecpl <alec@alec.pl>2012-04-19 06:56:52 +0000
commit6a8b4c2951314441e670d89204dd3b913698b23d (patch)
tree6048896be31fb04bdba552fec9c0eb73841b2794 /program/include/rcmail.php
parentb4f95a9387a391054ad37c7cfc988ed66adc4b44 (diff)
- Fix incorrect cache ttl used in get_cache_engine() (#1488447), use time() where mktime() without arguments was used
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 024fd3ec3..e70980137 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -520,7 +520,7 @@ class rcmail extends rcube
$_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']);