diff --git a/config/cookie.php b/config/cookie.php index e066853e1..371d0e8ac 100644 --- a/config/cookie.php +++ b/config/cookie.php @@ -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;