mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
Merge remote-tracking branch 'github-vse/ticket/10521' into develop-ascraeus
* github-vse/ticket/10521: [ticket/10521] Update docblock of set_cookie for new HttpOnly param
This commit is contained in:
commit
57927ef8ea
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 $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 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 $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)
|
function set_cookie($name, $cookiedata, $cookietime, $httponly = true)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue