Rendertime: possibility to define a minimal value for displaying the execution times
This commit is contained in:
parent
ee8564fd06
commit
a0344101f1
|
@ -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 New Issue
Block a user