Bugfixing after adding timestamps
This commit is contained in:
parent
fdee002f73
commit
2cb576d305
8 changed files with 72 additions and 65 deletions
|
|
@ -39,9 +39,7 @@ function replace_macros($s,$r) {
|
|||
$output = template_unescape($r);
|
||||
}
|
||||
$a = get_app();
|
||||
$stamp2 = microtime(true);
|
||||
$duration = (float)($stamp2-$stamp1);
|
||||
$a->performance["rendering"] += (float)$duration;
|
||||
$a->save_timestamp($stamp1, "rendering");
|
||||
|
||||
return $output;
|
||||
}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue