From 6a7254ca653b08e2b73ffd58b18c2bf70b8bd35e Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Sat, 15 Jan 2022 15:09:45 +0200 Subject: [ci skip] Fix a coding typo from 1a2651040ef701e750b1c13cd69cc70814b079d0 --- system/libraries/Session/Session.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/libraries/Session/Session.php') diff --git a/system/libraries/Session/Session.php b/system/libraries/Session/Session.php index 8d3ba2857..68dc0ab63 100644 --- a/system/libraries/Session/Session.php +++ b/system/libraries/Session/Session.php @@ -182,7 +182,7 @@ class CI_Session { if ( ! $this->_config['cookie_secure'] && $this->_config['cookie_samesite'] === 'None') { - log_message('error', 'Session:', $this->_config['cookie_name'].' cookie sent with SameSite=None, but without Secure attribute.'); + log_message('error', "Session: '".$this->_config['cookie_name']."' cookie sent with SameSite=None, but without Secure attribute.'"); } } -- cgit v1.2.3-24-g4f1b From d4b15bcdbd6a06e01d8de927c1d26f8f5bc4ed6c Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Tue, 22 Feb 2022 12:16:26 +0200 Subject: [ci skip] SessionUpdateTimestampHandlerInterface --- system/libraries/Session/Session.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'system/libraries/Session/Session.php') diff --git a/system/libraries/Session/Session.php b/system/libraries/Session/Session.php index 68dc0ab63..a211ce31b 100644 --- a/system/libraries/Session/Session.php +++ b/system/libraries/Session/Session.php @@ -207,6 +207,8 @@ class CI_Session { { // PHP 5.4 compatibility interface_exists('SessionHandlerInterface', FALSE) OR require_once(BASEPATH.'libraries/Session/SessionHandlerInterface.php'); + // PHP 7 compatibility + interface_exists('SessionUpdateTimestampHandlerInterface', FALSE) OR require_once(BASEPATH.'libraries/Session/SessionUpdateTimestampHandlerInterface.php'); require_once(BASEPATH.'libraries/Session/CI_Session_driver_interface.php'); $wrapper = is_php('8.0') ? 'PHP8SessionWrapper' : 'OldSessionWrapper'; -- cgit v1.2.3-24-g4f1b