summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
Diffstat (limited to 'it.class')
-rw-r--r--it.class5
1 files changed, 3 insertions, 2 deletions
diff --git a/it.class b/it.class
index 9bb4935..05d3140 100644
--- a/it.class
+++ b/it.class
@@ -111,10 +111,11 @@ static function timerlog($label = '')
/**
- * Send verbose error report to browser or (if display_errors is off) by email to .diffnotice gods, file owner or SERVER_ADMIN
+ * If display_errors is on or stdout is a tty, shows error in page or on stdout respectively
+ * If display_errors is off, mails (with rate limiting) diagnostics to .diffnotice addresses or file owner or SERVER_ADMIN
* @param $p either error title or assoc array of params, see below
* @param $p['title'] error title, one line
- * @param $p['body'] error body, multiline string or any data type (will be dumped)
+ * @param $p['body'] error body: multiline string or any data type (will be dumped)
* @param $p['to'] comma separated recipient list
* @param $p['id'] id of error. if given, first error is suppressed and second has to occur after 'graceperiod' within 'timewindow'
* @param $p['graceperiod'] in seconds. see 'id' [60]