summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
authorUrban Müller2009-03-27 17:36:23 +0000
committerUrban Müller2009-03-27 17:36:23 +0000
commit13d899093ffd3d1d9e789ddce7a1cb43114bc714 (patch)
tree9c4743321c6af1d067bf6c2ac950c76145de813c /it.class
parent48e812752db3f260dd684254e574a89dcf5a1ebb (diff)
downloaditools-13d899093ffd3d1d9e789ddce7a1cb43114bc714.tar.gz
itools-13d899093ffd3d1d9e789ddce7a1cb43114bc714.tar.bz2
itools-13d899093ffd3d1d9e789ddce7a1cb43114bc714.zip
include time in errmail
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 ee110dc..93c37c9 100644
--- a/it.class
+++ b/it.class
@@ -202,6 +202,7 @@ function error($p = array(), $body = null, $to = null) # $body and $to deprecate
$body .= "Host: " . getenv('HOSTNAME') . "\n\n";
$body .= $p['locals'] && strlen($locals) < 100000 ? "Locals: $locals\n\n" : "";
$body .= $p['id'] ? "Filter: graceperiod={$p['graceperiod']} timewindow={$p['timewindow']}\n\n" : "";
+ $body .= "Time: " . it::date() . "\n\n";
$body .= $lastsentdebug;
$body .= $_GET ? "\$_GET: " . print_r($_GET, true) . "\n\n" : "";
$body .= $_POST ? "\$_POST: " . print_r($_POST, true) . "\n\n" : "";