mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Improved readability
This commit is contained in:
parent
bc1678cf2a
commit
4faac8e09a
1 changed files with 3 additions and 3 deletions
|
@ -593,9 +593,9 @@ class CakeSession {
|
|||
);
|
||||
}
|
||||
Configure::write('Session', $sessionConfig);
|
||||
static::$sessionTime = static::$time + ($sessionConfig['timeout'] * 60);
|
||||
if (static::$_useForwardsCompatibleTimeout) {
|
||||
static::$sessionTime = static::$time;
|
||||
static::$sessionTime = static::$time;
|
||||
if (!static::$_useForwardsCompatibleTimeout) {
|
||||
static::$sessionTime += ($sessionConfig['timeout'] * 60);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue