diff options
author | Urban Müller | 2007-10-05 14:23:00 +0000 |
---|---|---|
committer | Urban Müller | 2007-10-05 14:23:00 +0000 |
commit | 71549c7f301282c9a04f2ed95a679d6c213335e7 (patch) | |
tree | 830454e9714256bf30ae22362536b57f12f147a9 /it.class | |
parent | 76b4315dd3dcbceba9e177f7a9763a9413877f47 (diff) | |
download | itools-71549c7f301282c9a04f2ed95a679d6c213335e7.tar.gz itools-71549c7f301282c9a04f2ed95a679d6c213335e7.tar.bz2 itools-71549c7f301282c9a04f2ed95a679d6c213335e7.zip |
add hostname to mailed errs
Diffstat (limited to 'it.class')
-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" : ""; |