diff options
author | Urban Müller | 2013-07-12 14:27:36 +0000 |
---|---|---|
committer | Urban Müller | 2013-07-12 14:27:36 +0000 |
commit | dd6467c92d664acba3d104f0130116a95f4d3fa6 (patch) | |
tree | b505ab0ff860f2f77763c72a2553903d8ff730e6 | |
parent | e5065ef36b82a610cff572167bd5ea9af0771d00 (diff) | |
download | itools-dd6467c92d664acba3d104f0130116a95f4d3fa6.tar.gz itools-dd6467c92d664acba3d104f0130116a95f4d3fa6.tar.bz2 itools-dd6467c92d664acba3d104f0130116a95f4d3fa6.zip |
show (unquoted) cmd line in it::error
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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']) |