summaryrefslogtreecommitdiffstats
path: root/system/libraries/Session.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/libraries/Session.php')
-rw-r--r--system/libraries/Session.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Session.php b/system/libraries/Session.php
index c1fc345d9..89662fe52 100644
--- a/system/libraries/Session.php
+++ b/system/libraries/Session.php
@@ -275,7 +275,7 @@ class CI_Session {
setcookie(
$this->sess_cookie,
$cookie_data,
- $this->sess_length + $this->now,
+ $this->sess_length + time(),
$this->CI->config->item('cookie_path'),
$this->CI->config->item('cookie_domain'),
0