mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Use external cookie library to prevent incorrect cookie setting (#1161)
This commit is contained in:
parent
357bb08387
commit
99bfaefe1e
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ function bb_setcookie($name, $val, int $lifetime = COOKIE_PERSIST, bool $httponl
|
|||
{
|
||||
global $bb_cfg;
|
||||
|
||||
return \Delight\Cookie\Cookie::setcookie($name, $val, $lifetime, $bb_cfg['script_path'], $bb_cfg['cookie_domain'], $bb_cfg['server_secure'], $httponly, $bb_cfg['cookie_same_site']);
|
||||
return \Delight\Cookie\Cookie::setcookie($name, $val, $lifetime, $bb_cfg['script_path'], $bb_cfg['cookie_domain'], $bb_cfg['cookie_secure'], $httponly, $bb_cfg['cookie_same_site']);
|
||||
}
|
||||
|
||||
// User Levels
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue