mirror of
https://github.com/danpros/htmly.git
synced 2026-04-17 19:26:08 +05:30
Remove port 443 during installation
This commit is contained in:
parent
e2c495204a
commit
1276b93c91
2 changed files with 2 additions and 2 deletions
|
|
@ -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 = ""
|
site.url = ""
|
||||||
|
|
||||||
; Your timezone
|
; Your timezone
|
||||||
|
|
|
||||||
|
|
@ -105,7 +105,7 @@ class Settings
|
||||||
$dir = '';
|
$dir = '';
|
||||||
}
|
}
|
||||||
$port = '';
|
$port = '';
|
||||||
if ($_SERVER["SERVER_PORT"] != "80") {
|
if ($_SERVER["SERVER_PORT"] != "80" && $_SERVER["SERVER_PORT"] != "443") {
|
||||||
$port = ':' . $_SERVER["SERVER_PORT"];
|
$port = ':' . $_SERVER["SERVER_PORT"];
|
||||||
}
|
}
|
||||||
$scheme = isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off' ? 'https' : 'http';
|
$scheme = isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off' ? 'https' : 'http';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue