Merge pull request #1044 from annando/rendertime-limit

Rendertime: possibility to define a minimal value for displaying the execution times
This commit is contained in:
Hypolite Petovan 2020-11-20 06:58:30 -05:00 committed by GitHub
commit 019bcb4be4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,7 +50,7 @@ function rendertime_page_end(Friendica\App $a, &$o)
if ($profiler->isRendertime()) {
$o .= '<pre>';
$o .= $profiler->getRendertimeString();
$o .= $profiler->getRendertimeString(DI::config()->get('rendertime', 'minimal_time', 0));
$o .= '</pre>';
}
}