diff options
author | Urban Müller | 2020-11-11 16:50:31 +0100 |
---|---|---|
committer | Urban Müller | 2020-11-11 16:50:31 +0100 |
commit | cf947930ff9eaebcff2812104a3519ef48c56e0b (patch) | |
tree | 6a56bebd9c1fe1b69dc5e4acb94555f2077c6ade | |
parent | ea0289885c1fc4a8621d3a68893d3c08a2716504 (diff) | |
download | itools-cf947930ff9eaebcff2812104a3519ef48c56e0b.tar.gz itools-cf947930ff9eaebcff2812104a3519ef48c56e0b.tar.bz2 itools-cf947930ff9eaebcff2812104a3519ef48c56e0b.zip |
bugfix (accidentally added rawpost)
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -278,7 +278,7 @@ static function error($p = array(), $extra = null) if ($level >= $p['backtraceskip'] && $tracesize < 100000 && ($tracesize += strlen(print_r($stackframe, true))) < 100000) # save mem $stackframes[] = $stackframe; - $needraw = $_SERVER['REQUEST_METHOD'] == "POST" && !it::match('application/x-www-form-urlencoded|multipart/form-data', $_REQUEST['CONTENT_TYPE']); + $needraw = $_SERVER['REQUEST_METHOD'] == "POST" && !it::match('application/x-www-form-urlencoded|multipart/form-data', $_SERVER['CONTENT_TYPE']); $body .= ($trace and $t = it::exec('grep -h {0} `ls /tmp/alertdata/alertlog-*|tail -3` /dev/null 2>/dev/null | grep ^2 | cut -d : -f 1-2 | sort | uniq -c | tail -10', $trace)) ? "Histogram: (last 10 affected minutes in 3 days)\n$t" : ""; $body .= "\n"; |