mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2024-12-01 19:39:45 +08:00
cookie域名判断优化
This commit is contained in:
parent
b3809db8c1
commit
737af75c6e
@ -12,7 +12,7 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | Cookie设置
|
||||
// +----------------------------------------------------------------------
|
||||
$cookie_domain = MyFileConfig('common_cookie_domain', '', __MY_MAIN_DOMAIN__, true);
|
||||
$cookie_domain = MyFileConfig('common_cookie_domain', '', '', true);
|
||||
if(!empty($cookie_domain) && substr($cookie_domain, 0, 1) != '.')
|
||||
{
|
||||
$cookie_domain = '.'.$cookie_domain;
|
||||
|
Loading…
Reference in New Issue
Block a user