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:
commit
019bcb4be4
1 changed files with 1 additions and 1 deletions
|
@ -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>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue