mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 22:08:54 +00:00
[ticket/10521] Update docblock of set_cookie for new HttpOnly param
PHPBB3-10521
This commit is contained in:
parent
257ff46659
commit
6d71f7d7ba
1 changed files with 1 additions and 1 deletions
|
@ -1045,7 +1045,7 @@ class session
|
|||
* @param string $name Name of the cookie, will be automatically prefixed with the phpBB cookie name. track becomes [cookie_name]_track then.
|
||||
* @param string $cookiedata The data to hold within the cookie
|
||||
* @param int $cookietime The expiration time as UNIX timestamp. If 0 is provided, a session cookie is set.
|
||||
* @param int $httponly Use HttpOnly. Defaults to true. Use false to make cookie accessible by client-side scripts.
|
||||
* @param bool $httponly Use HttpOnly. Defaults to true. Use false to make cookie accessible by client-side scripts.
|
||||
*/
|
||||
function set_cookie($name, $cookiedata, $cookietime, $httponly = true)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue