diff options
author | Urban Müller | 2016-07-21 14:09:57 +0200 |
---|---|---|
committer | Urban Müller | 2016-07-21 14:09:57 +0200 |
commit | 2a26982f5f2c54900bec3a6aeb1ef67471c398a9 (patch) | |
tree | dfd7eb1d2381ed33ee8413a4ddaf26cb64424901 | |
parent | 750d28384f904234d119d4c66b06072c4f09cb0b (diff) | |
download | itools-2a26982f5f2c54900bec3a6aeb1ef67471c398a9.tar.gz itools-2a26982f5f2c54900bec3a6aeb1ef67471c398a9.tar.bz2 itools-2a26982f5f2c54900bec3a6aeb1ef67471c398a9.zip |
it::error: we ignore https for easier debugging
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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'] . ")"; |