Fork自 纵之格 / ShopXO
体验新版 GitCode,发现更多精彩内容 >>
<?php // +---------------------------------------------------------------------- // | ShopXO 国内领先企业级B2C免费开源电商系统 // +---------------------------------------------------------------------- // | Copyright (c) 2011~2018 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, ];
?>