Bugfixing after adding timestamps

This commit is contained in:
Michael Vogel 2013-01-27 13:57:44 +01:00
commit 2cb576d305
8 changed files with 72 additions and 65 deletions

View file

@ -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;
}}