diff --git a/config/config.ini.example b/config/config.ini.example index 4010170..f593661 100644 --- a/config/config.ini.example +++ b/config/config.ini.example @@ -1,4 +1,4 @@ -; The URL of your blog. Include the http or https if you are using Facebook or Disqus comment. +; The URL of your blog. site.url = "" ; Your timezone diff --git a/install.php b/install.php index d414e42..91cd835 100644 --- a/install.php +++ b/install.php @@ -105,7 +105,7 @@ class Settings $dir = ''; } $port = ''; - if ($_SERVER["SERVER_PORT"] != "80") { + if ($_SERVER["SERVER_PORT"] != "80" && $_SERVER["SERVER_PORT"] != "443") { $port = ':' . $_SERVER["SERVER_PORT"]; } $scheme = isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off' ? 'https' : 'http';