We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 538ba3c commit b804142Copy full SHA for b804142
program/lib/Roundcube/session/php.php
@@ -97,10 +97,6 @@ public function start()
97
98
$this->key = session_id();
99
$this->ip = $_SESSION['__IP'] ?? null;
100
- if (is_int($_SESSION['__MTIME'])) {
101
- $this->expires_at = $_SESSION['__MTIME'] + $this->lifetime;
102
- } else {
103
- $this->expires_at = null;
104
- }
+ $this->expires_at = time() + $this->lifetime;
105
}
106
0 commit comments