From: Michael <heluecht@pirati.ca> Date: Fri, 20 Nov 2020 09:02:39 +0000 (+0000) Subject: Rendertime: possibility to define a minimal value for displaying the execution times X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a0344101f122248c3069a5dcfa3ebfcb67215d5a;p=friendica-addons.git Rendertime: possibility to define a minimal value for displaying the execution times --- diff --git a/rendertime/rendertime.php b/rendertime/rendertime.php index acc6521a..9edfde0b 100644 --- a/rendertime/rendertime.php +++ b/rendertime/rendertime.php @@ -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>'; } }