function setNcCookie($name, $value, $expire=‘3600‘, $path=‘‘, $domain=‘.a.cn‘, $secure=false){
if (empty($path)) $path = ‘/‘;
if (empty($domain)) $domain = SUBDOMAIN_SUFFIX ? SUBDOMAIN_SUFFIX : ‘‘;
要修改$domain为线上的域名
时间: 2024-10-10 14:09:03
function setNcCookie($name, $value, $expire=‘3600‘, $path=‘‘, $domain=‘.a.cn‘, $secure=false){
if (empty($path)) $path = ‘/‘;
if (empty($domain)) $domain = SUBDOMAIN_SUFFIX ? SUBDOMAIN_SUFFIX : ‘‘;
要修改$domain为线上的域名