summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
authorUrban Müller2017-07-04 14:26:31 +0200
committerUrban Müller2017-07-04 14:26:31 +0200
commitd652d974d32ea87b29ae1d741bd36b6d91d5f210 (patch)
treeeccd06ae7f3d79d9737c24212932ea4f6b0e6782 /it.class
parent4d3956ddba5aeb99655abfca0b1eba020afbefdd (diff)
downloaditools-d652d974d32ea87b29ae1d741bd36b6d91d5f210.tar.gz
itools-d652d974d32ea87b29ae1d741bd36b6d91d5f210.tar.bz2
itools-d652d974d32ea87b29ae1d741bd36b6d91d5f210.zip
better docs
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]