adding test

This commit is contained in:
Philipp Holzer 2019-02-20 17:20:16 +01:00
parent 51d89255cc
commit a5d77d4413
No known key found for this signature in database
GPG Key ID: 517BE60E2CE5C8A5

View File

@ -54,8 +54,10 @@ function rendertime_page_end(&$a, &$o)
//round($profiler->get('plugin'), 3) //round($profiler->get('plugin'), 3)
) . '</div>'; ) . '</div>';
if ($profiler->isRendertime()) {
$o .= '<pre>'; $o .= '<pre>';
$o .= $profiler->getRendertimeString(); $o .= $profiler->getRendertimeString();
$o .= '</pre>'; $o .= '</pre>';
} }
}
} }