diff options
-rw-r--r-- | it.class | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -185,6 +185,7 @@ function error($p = array(), $body = "", $to = "") if ($sendmail) # we're mailing: send maximum info { + $p['to'] .= " (on " . getenv('HOSTNAME') . ")"; $body .= $p['locals'] ? "Locals: " . print_r($p['locals'], true) . "\n\n" : ""; $body .= $_GET ? "\$_GET: " . print_r($_GET, true) . "\n\n" : ""; $body .= $_POST ? "\$_POST: " . print_r($_POST, true) . "\n\n" : ""; |