diff options
author | Urban Müller | 2018-01-08 11:59:51 +0100 |
---|---|---|
committer | Urban Müller | 2018-01-08 11:59:51 +0100 |
commit | 2c587d8efa0ad426ee7fab622c5dbe7bca00c351 (patch) | |
tree | a72b3e6d17be233d89ea6580d519f2f504a29157 /it.class | |
parent | f6e4af3c6f2e79e0c92a41031b9d967d3927dac7 (diff) | |
download | itools-2c587d8efa0ad426ee7fab622c5dbe7bca00c351.tar.gz itools-2c587d8efa0ad426ee7fab622c5dbe7bca00c351.tar.bz2 itools-2c587d8efa0ad426ee7fab622c5dbe7bca00c351.zip |
handle structured body
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -290,7 +290,7 @@ static function error($p = array()) if ($_SERVER['REMOTE_ADDR']) # additional entry in log/error_log error_log("it::error: " . $p['title'] . " Url: $url"); - it::log("/tmp/alertdata/alertlog", $p['title'] . " in " . ($trace ? $trace : "{$p['file']}:{$p['line']}") . " Url: $url" . ($p['body'] ? "\n" . substr($p['body'], 0, 5000) . "\n" : "")); + it::log("/tmp/alertdata/alertlog", $p['title'] . " in " . ($trace ? $trace : "{$p['file']}:{$p['line']}") . " Url: $url" . ($p['body'] ? "\n" . substr(D($p['body']), 0, 5000) . "\n" : "")); if ($p['fatal']) exit(99); |