mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2024-11-30 10:59:47 +08:00
31 lines
1.2 KiB
PHP
31 lines
1.2 KiB
PHP
<?php
|
|
// +----------------------------------------------------------------------
|
|
// | ShopXO 国内领先企业级B2C免费开源电商系统
|
|
// +----------------------------------------------------------------------
|
|
// | Copyright (c) 2011~2099 http://shopxo.net All rights reserved.
|
|
// +----------------------------------------------------------------------
|
|
// | Licensed ( https://opensource.org/licenses/mit-license.php )
|
|
// +----------------------------------------------------------------------
|
|
// | Author: Devil
|
|
// +----------------------------------------------------------------------
|
|
|
|
// +----------------------------------------------------------------------
|
|
// | Cookie设置
|
|
// +----------------------------------------------------------------------
|
|
return [
|
|
// cookie 保存时间
|
|
'expire' => 0,
|
|
// cookie 保存路径
|
|
'path' => '/',
|
|
// cookie 有效域名
|
|
'domain' => MyFileConfig('common_cookie_domain', '', '', true),
|
|
// cookie 启用安全传输
|
|
'secure' => false,
|
|
// httponly设置
|
|
'httponly' => false,
|
|
// 是否使用 setcookie
|
|
'setcookie' => true,
|
|
// samesite 设置,支持 'strict' 'lax'
|
|
'samesite' => '',
|
|
];
|
|
?>
|