summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2013-07-12 14:27:36 +0000
committerUrban Müller2013-07-12 14:27:36 +0000
commitdd6467c92d664acba3d104f0130116a95f4d3fa6 (patch)
treeb505ab0ff860f2f77763c72a2553903d8ff730e6
parente5065ef36b82a610cff572167bd5ea9af0771d00 (diff)
downloaditools-dd6467c92d664acba3d104f0130116a95f4d3fa6.tar.gz
itools-dd6467c92d664acba3d104f0130116a95f4d3fa6.tar.bz2
itools-dd6467c92d664acba3d104f0130116a95f4d3fa6.zip
show (unquoted) cmd line in it::error
-rw-r--r--it.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it.class b/it.class
index 07ca19f..14cd8a2 100644
--- a/it.class
+++ b/it.class
@@ -133,7 +133,7 @@ static function error($p = array(), $body = null, $to = null) # $body and $to de
if ($_SERVER['REMOTE_ADDR'])
$url = ($_SERVER['HTTPS'] ? "https://" : "http://") . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
else
- $url = $_SERVER['SCRIPT_NAME'] . " (pwd " . $_SERVER['PWD'] . ")";
+ $url = $_SERVER['SCRIPT_NAME'] . " " . join(" ", array_slice($GLOBALS['argv'], 1)) . " (pwd " . $_SERVER['PWD'] . ")";
$gods = strtr(trim(@file_get_contents($GLOBALS['ULTRAHOME'] . "/.diffnotice")), array("\n"=>', '));
if (!$p['to'])