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为线上的域名