mirror of
https://github.com/friendica/friendica
synced 2025-04-20 15:10:12 +00:00
Log the execution time
This commit is contained in:
parent
6eb70bea16
commit
4016a576d5
27 changed files with 67 additions and 6 deletions
|
@ -48,6 +48,7 @@ class ItemBody extends BaseModule
|
|||
if (!empty($item)) {
|
||||
if (DI::mode()->isAjax()) {
|
||||
echo str_replace("\n", '<br />', $item['body']);
|
||||
DI::page()->logRuntime();
|
||||
exit();
|
||||
} else {
|
||||
return str_replace("\n", '<br />', $item['body']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue