Correct deprecation warning on cookies
This commit is contained in:
parent
e1a8de1652
commit
10ce6bbf11
1 changed files with 2 additions and 2 deletions
|
@ -139,9 +139,9 @@ abstract class CI_Session_driver implements SessionHandlerInterface {
|
||||||
*/
|
*/
|
||||||
protected function _cookie_destroy()
|
protected function _cookie_destroy()
|
||||||
{
|
{
|
||||||
return setcookie(
|
return @setcookie(
|
||||||
$this->_config['cookie_name'],
|
$this->_config['cookie_name'],
|
||||||
NULL,
|
'',
|
||||||
1,
|
1,
|
||||||
$this->_config['cookie_path'],
|
$this->_config['cookie_path'],
|
||||||
$this->_config['cookie_domain'],
|
$this->_config['cookie_domain'],
|
||||||
|
|
Loading…
Reference in a new issue