[ticket/10521] Update docblock of set_cookie for new HttpOnly param

PHPBB3-10521
This commit is contained in:
Matt Friedman 2014-05-02 15:57:39 -07:00
parent 257ff46659
commit 6d71f7d7ba

View file

@ -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)
{