diff --git a/Bootstrap.php b/Bootstrap.php index ddfb3ce..cdd600d 100755 --- a/Bootstrap.php +++ b/Bootstrap.php @@ -36,7 +36,7 @@ // The current TLD address, scheme, and port define('DOMAIN', (strtolower(getenv('HTTPS')) == 'on' ? 'https' : 'http') . '://' - . getenv('HTTP_HOST') . (($p = getenv('SERVER_PORT')) != 80 AND $p != 443 ? ":$p" : '')); + . getenv('HTTP_HOST')); // The current site path define('PATH', parse_url(getenv('REQUEST_URI'), PHP_URL_PATH));