Rendertime: possibility to define a minimal value for displaying the execution times

This commit is contained in:
Michael 2020-11-20 09:02:39 +00:00
parent ee8564fd06
commit a0344101f1

View File

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