diff options
author | Urban Müller | 2018-11-02 15:58:54 +0100 |
---|---|---|
committer | Urban Müller | 2018-11-02 15:59:34 +0100 |
commit | a70fb2d898fd9934b0a6daeba3aa13d04105d77c (patch) | |
tree | 78cfaa53473daab8e441ed91475029fd7a074125 /it.class | |
parent | a4806909cb26f951daf8c4b4a285691eecc0cf59 (diff) | |
download | itools-a70fb2d898fd9934b0a6daeba3aa13d04105d77c.tar.gz itools-a70fb2d898fd9934b0a6daeba3aa13d04105d77c.tar.bz2 itools-a70fb2d898fd9934b0a6daeba3aa13d04105d77c.zip |
remove explicit https ports since we force http protocol
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -166,7 +166,7 @@ static function error($p = array()) return $p['fatal'] ? exit(99) : null; if ($_SERVER['REMOTE_ADDR']) - $url = "http://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; # we ignore https for easier debugging + $url = "http://" . it::replace([':443$' => ""], $_SERVER['HTTP_HOST']) . $_SERVER['REQUEST_URI']; # we ignore https for easier debugging else $url = $_SERVER['SCRIPT_NAME'] . " " . join(" ", array_slice($GLOBALS['argv'], 1)) . " (pwd " . $_SERVER['PWD'] . ")"; |