diff options
author | Urban Müller | 2023-09-04 19:09:39 +0200 |
---|---|---|
committer | Urban Müller | 2023-09-04 19:09:39 +0200 |
commit | 842deaadc3d8e16a118da1c68cbb5a3eb3d4849d (patch) | |
tree | dc5b04f0f26a940bdbf7b3e29567d60668c181cd | |
parent | 5ad3fcb753b2f2d10ee60d9a2e9b7df6c93bcd3b (diff) | |
download | itools-842deaadc3d8e16a118da1c68cbb5a3eb3d4849d.tar.gz itools-842deaadc3d8e16a118da1c68cbb5a3eb3d4849d.tar.bz2 itools-842deaadc3d8e16a118da1c68cbb5a3eb3d4849d.zip |
add forgotten url to host, mail2443
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -186,7 +186,7 @@ static function error($p = array(), $extra = null) return null; # prevent recursion if ($_SERVER['REMOTE_ADDR']) - $url = ($_SERVER['HTTPS'] ? "https://" : "http://") . $_SERVER['REQUEST_URI']; + $url = ($_SERVER['HTTPS'] ? "https://" : "http://") . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; else $url = $_SERVER['SCRIPT_NAME'] . " " . implode(" ", array_slice($GLOBALS['argv'], 1)) . " (pwd " . $_SERVER['PWD'] . ")"; |