diff options
author | Jakub Senko <jakubsenko@gmail.com> | 2019-10-07 13:47:02 +0200 |
---|---|---|
committer | Jakub Senko <jakubsenko@gmail.com> | 2019-10-07 13:47:02 +0200 |
commit | 367b0bc2084d53ab6c7f2b6c7a61a0aba9cf04a2 (patch) | |
tree | f4fc16f7a62494de7ee4e72dc46c1dcc92708f22 | |
parent | 6b85faf7dad5a83eb28a06fdcf428102ae63bc28 (diff) | |
download | forums-367b0bc2084d53ab6c7f2b6c7a61a0aba9cf04a2.tar forums-367b0bc2084d53ab6c7f2b6c7a61a0aba9cf04a2.tar.gz forums-367b0bc2084d53ab6c7f2b6c7a61a0aba9cf04a2.tar.bz2 forums-367b0bc2084d53ab6c7f2b6c7a61a0aba9cf04a2.tar.xz forums-367b0bc2084d53ab6c7f2b6c7a61a0aba9cf04a2.zip |
[ticket/16174] Add function params to the event
PHPBB3-16174
-rw-r--r-- | phpBB/phpbb/session.php | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/phpBB/phpbb/session.php b/phpBB/phpbb/session.php index 057c69b666..237513e05f 100644 --- a/phpBB/phpbb/session.php +++ b/phpBB/phpbb/session.php @@ -1090,10 +1090,20 @@ class session * Event to disable setting cookie * * @event core.set_cookie - * @var bool disable_cookie Set to true to disable setting this cookie + * @var bool disable_cookie Set to true to disable setting this cookie + * @var string name Name of the cookie + * @var string cookiedata The data to hold within the cookie + * @var int cookietime The expiration time as UNIX timestamp + * @var bool httponly Use HttpOnly? * @since 3.2.9-RC1 */ - $vars = array('disable_cookie'); + $vars = array( + 'disable_cookie', + 'name', + 'cookiedata', + 'cookietime', + 'httponly', + ); extract($phpbb_dispatcher->trigger_event('core.set_cookie', compact($vars))); if ($disable_cookie) |