mirror of https://github.com/flucont/btcloud.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
569 B
20 lines
569 B
<?php
|
|
// +----------------------------------------------------------------------
|
|
// | Cookie设置
|
|
// +----------------------------------------------------------------------
|
|
return [
|
|
// cookie 保存时间
|
|
'expire' => 0,
|
|
// cookie 保存路径
|
|
'path' => '/',
|
|
// cookie 有效域名
|
|
'domain' => '',
|
|
// cookie 启用安全传输
|
|
'secure' => false,
|
|
// httponly设置
|
|
'httponly' => false,
|
|
// 是否使用 setcookie
|
|
'setcookie' => true,
|
|
// samesite 设置,支持 'strict' 'lax'
|
|
'samesite' => '',
|
|
];
|