Browse Source

Remove port 443 during installation

pull/642/head
danpros 2 years ago
parent
commit
1276b93c91
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      config/config.ini.example
  2. +1
    -1
      install.php

+ 1
- 1
config/config.ini.example View File

@ -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


+ 1
- 1
install.php View File

@ -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…
Cancel
Save