mirror of
https://github.com/getgrav/grav.git
synced 2026-03-04 11:31:43 +01:00
Fix for huge session timeouts #1050
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
1. [](#bugfix)
|
||||
* Quietly skip missing streams in `Cache::clearCache()`
|
||||
* Fix issue in calling page.summary when no content is present in a page
|
||||
* Fix for HUGE session timeouts [#1050](https://github.com/getgrav/grav/issues/1050)
|
||||
|
||||
# v1.1.4
|
||||
## 09/07/2016
|
||||
|
||||
@@ -64,6 +64,11 @@ class Session extends BaseSession
|
||||
$domain = '';
|
||||
}
|
||||
|
||||
// Fix for HUGE session timeouts
|
||||
if ($session_timeout > 99999999999) {
|
||||
$session_timeout = 9999999999;
|
||||
}
|
||||
|
||||
// Define session service.
|
||||
parent::__construct($session_timeout, $session_path, $domain);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user