Skip to content

Commit

Permalink
Merge pull request #2197 from cstechsandesh/patch-1
Browse files Browse the repository at this point in the history
Update Session.php
  • Loading branch information
lonnieezell authored Sep 19, 2019
2 parents 1f4cd89 + 1edcb58 commit 91fde05
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion system/Session/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,8 @@ protected function configure()
$this->sessionExpiration, $this->cookiePath, $this->cookieDomain, $this->cookieSecure, true // HTTP only; Yes, this is intentional and not configurable for security reasons.
);

if (empty($this->sessionExpiration))
//if (empty($this->sessionExpiration))

This comment has been minimized.

Copy link
@orionstar

orionstar Sep 19, 2019

That commented line will be needed for sth?

if (!isset($this->sessionExpiration))
{
$this->sessionExpiration = (int) ini_get('session.gc_maxlifetime');
}
Expand Down

0 comments on commit 91fde05

Please sign in to comment.