mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2024-12-06 05:48:48 +08:00
31 lines
1.1 KiB
PHP
Executable File
31 lines
1.1 KiB
PHP
Executable File
<?php
|
|
// +----------------------------------------------------------------------
|
|
// | ShopXO 国内领先企业级B2C免费开源电商系统
|
|
// +----------------------------------------------------------------------
|
|
// | Copyright (c) 2011~2019 http://shopxo.net All rights reserved.
|
|
// +----------------------------------------------------------------------
|
|
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
|
|
// +----------------------------------------------------------------------
|
|
// | Author: Devil
|
|
// +----------------------------------------------------------------------
|
|
|
|
// +----------------------------------------------------------------------
|
|
// | Cookie设置
|
|
// +----------------------------------------------------------------------
|
|
return [
|
|
// cookie 名称前缀
|
|
'prefix' => '',
|
|
// cookie 保存时间
|
|
'expire' => 0,
|
|
// cookie 保存路径
|
|
'path' => '/',
|
|
// cookie 有效域名
|
|
'domain' => '',
|
|
// cookie 启用安全传输
|
|
'secure' => false,
|
|
// httponly设置
|
|
'httponly' => '',
|
|
// 是否使用 setcookie
|
|
'setcookie' => true,
|
|
];
|
|
?>
|