From 13d899093ffd3d1d9e789ddce7a1cb43114bc714 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Fri, 27 Mar 2009 17:36:23 +0000 Subject: include time in errmail --- it.class | 1 + 1 file changed, 1 insertion(+) 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" : ""; -- cgit v1.2.3