Correct deprecation warning on cookies

This commit is contained in:
Alex Tselegidis 2023-03-13 07:42:49 +01:00
parent e1a8de1652
commit 10ce6bbf11
1 changed files with 2 additions and 2 deletions

View File

@ -139,9 +139,9 @@ abstract class CI_Session_driver implements SessionHandlerInterface {
*/
protected function _cookie_destroy()
{
return setcookie(
return @setcookie(
$this->_config['cookie_name'],
NULL,
'',
1,
$this->_config['cookie_path'],
$this->_config['cookie_domain'],