diff --git a/e107_handlers/e107_class.php b/e107_handlers/e107_class.php index eff4be1d8..97b3bc4ff 100644 --- a/e107_handlers/e107_class.php +++ b/e107_handlers/e107_class.php @@ -3990,6 +3990,11 @@ class e107 } + if($domain === 'localhost') // Fix for chrome. + { + $domain = false; + } + define("e_DOMAIN", $domain); define("e_SUBDOMAIN", ($subdomain) ? $subdomain : false);