From 2a26982f5f2c54900bec3a6aeb1ef67471c398a9 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Thu, 21 Jul 2016 14:09:57 +0200 Subject: it::error: we ignore https for easier debugging --- it.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it.class') diff --git a/it.class b/it.class index fc1930c..8acce96 100644 --- a/it.class +++ b/it.class @@ -133,7 +133,7 @@ static function error($p = array()) $p = is_array($p) ? $p : array('title' => $p); if ($_SERVER['REMOTE_ADDR']) - $url = ($_SERVER['HTTPS'] ? "https://" : "http://") . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; + $url = "https://" . $_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'] . ")"; -- cgit v1.2.3