From 842deaadc3d8e16a118da1c68cbb5a3eb3d4849d Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Mon, 4 Sep 2023 19:09:39 +0200 Subject: add forgotten url to host, mail2443 --- it.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it.class') diff --git a/it.class b/it.class index 52779f3..38d0c71 100644 --- a/it.class +++ b/it.class @@ -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'] . ")"; -- cgit v1.2.3