mirror of
https://github.com/friendica/friendica
synced 2025-04-27 01:50:11 +00:00
template proc: first optimization
This commit is contained in:
parent
f1bf6dcdfb
commit
60e5dda1b5
2 changed files with 29 additions and 10 deletions
|
@ -14,7 +14,13 @@ if(! function_exists('replace_macros')) {
|
|||
function replace_macros($s,$r) {
|
||||
global $t;
|
||||
|
||||
return $t->replace($s,$r);
|
||||
//$ts = microtime();
|
||||
$r = $t->replace($s,$r);
|
||||
//$tt = microtime() - $ts;
|
||||
|
||||
//$a = get_app();
|
||||
//$a->page['debug'] .= "$tt <br>\n";
|
||||
return $r;
|
||||
|
||||
}}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue