Index: bootstrap.inc =================================================================== --- includes/bootstrap.inc 30 Apr 2007 14:37:36 -0000 1.163 +++ includes/bootstrap.inc 1 May 2007 23:36:47 -0000 @@ -309,7 +309,8 @@ function conf_init() { if (strpos($cookie_domain, 'www.') === 0) { $cookie_domain = substr($cookie_domain, 4); } - $cookie_domain = '.'. array_shift(explode(':', $cookie_domain)); + $cookie_domain = explode(':', $cookie_domain); + $cookie_domain = '.'. array_shift($cookie_domain); // Per RFC 2109, cookie domains must contain at least one dot other than the // first. For hosts such as 'localhost' or IP Addresses we don't set a cookie domain. if (count(explode('.', $cookie_domain)) > 2 && !is_numeric(str_replace('.', '', $cookie_domain))) {