mirror of
https://github.com/friendica/friendica
synced 2025-04-22 19:50:11 +00:00
Log the execution time
This commit is contained in:
parent
6eb70bea16
commit
4016a576d5
27 changed files with 67 additions and 6 deletions
|
@ -47,6 +47,7 @@ class PageNotFound extends BaseModule
|
|||
$queryString = $this->server['QUERY_STRING'];
|
||||
// Stupid browser tried to pre-fetch our Javascript img template. Don't log the event or return anything - just quietly exit.
|
||||
if (!empty($queryString) && preg_match('/{[0-9]}/', $queryString) !== 0) {
|
||||
DI::page()->logRuntime();
|
||||
exit();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue