diff options
author | Urban Müller | 2009-03-27 17:36:23 +0000 |
---|---|---|
committer | Urban Müller | 2009-03-27 17:36:23 +0000 |
commit | 13d899093ffd3d1d9e789ddce7a1cb43114bc714 (patch) | |
tree | 9c4743321c6af1d067bf6c2ac950c76145de813c /it.class | |
parent | 48e812752db3f260dd684254e574a89dcf5a1ebb (diff) | |
download | itools-13d899093ffd3d1d9e789ddce7a1cb43114bc714.tar.gz itools-13d899093ffd3d1d9e789ddce7a1cb43114bc714.tar.bz2 itools-13d899093ffd3d1d9e789ddce7a1cb43114bc714.zip |
include time in errmail
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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" : ""; |