summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2016-07-21 14:09:57 +0200
committerUrban Müller2016-07-21 14:09:57 +0200
commit2a26982f5f2c54900bec3a6aeb1ef67471c398a9 (patch)
treedfd7eb1d2381ed33ee8413a4ddaf26cb64424901
parent750d28384f904234d119d4c66b06072c4f09cb0b (diff)
downloaditools-2a26982f5f2c54900bec3a6aeb1ef67471c398a9.tar.gz
itools-2a26982f5f2c54900bec3a6aeb1ef67471c398a9.tar.bz2
itools-2a26982f5f2c54900bec3a6aeb1ef67471c398a9.zip
it::error: we ignore https for easier debugging
-rw-r--r--it.class2
1 files changed, 1 insertions, 1 deletions
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'] . ")";