mirror of
https://github.com/danpros/htmly.git
synced 2026-04-17 11:16:00 +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
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue