diff options
Diffstat (limited to 'app/Core')
-rw-r--r-- | app/Core/Session.php | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/app/Core/Session.php b/app/Core/Session.php index 0e5f7426..df0ec5f7 100644 --- a/app/Core/Session.php +++ b/app/Core/Session.php @@ -13,15 +13,6 @@ use ArrayAccess; class Session implements ArrayAccess { /** - * Sesion lifetime - * - * http://php.net/manual/en/session.configuration.php#ini.session.cookie-lifetime - * - * @var integer - */ - const SESSION_LIFETIME = 0; // Until the browser is closed - - /** * Return true if the session is open * * @static @@ -43,7 +34,7 @@ class Session implements ArrayAccess { // HttpOnly and secure flags for session cookie session_set_cookie_params( - self::SESSION_LIFETIME, + SESSION_DURATION, $base_path ?: '/', null, Request::isHTTPS(), |