summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
Diffstat (limited to 'it.class')
-rw-r--r--it.class1
1 files changed, 1 insertions, 0 deletions
diff --git a/it.class b/it.class
index 37741c2..6517fcc 100644
--- a/it.class
+++ b/it.class
@@ -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" : "";