|
@@ -26,7 +26,7 @@ class Cookie
|
|
protected $secure;
|
|
protected $secure;
|
|
protected $httpOnly;
|
|
protected $httpOnly;
|
|
|
|
|
|
- public function __construct($name, $value = null, $expire = 0, $path = '/', $domain = null, $secure = false, $httpOnly = true)
|
|
|
|
|
|
+ public function __construct($name, $value = null, $expire = 0, $path = '/', $domain = null, $secure = false, $httpOnly = false)
|
|
{
|
|
{
|
|
// from PHP source code
|
|
// from PHP source code
|
|
if (preg_match("/[=,; \t\r\n\013\014]/", $name)) {
|
|
if (preg_match("/[=,; \t\r\n\013\014]/", $name)) {
|