The phpbb/session.php -> function set_cookie
I would like to request a new event to prevent the creation of a cookie due to GDPR.
Example:
global $phpbb_dispatcher;
|
|
$disable_cookie = false; |
$vars = array('disable_cookie'); |
extract($phpbb_dispatcher->trigger_event('core.set_cookie', compact($vars))); |
|
if ($disable_cookie) |
{
|
return; |
}
|