diff options
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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] |