diff options
author | Simon <simon@kisikew.org> | 2012-03-02 07:55:38 -0800 |
---|---|---|
committer | Simon <simon@kisikew.org> | 2012-03-02 07:55:38 -0800 |
commit | a3dcf491f14d6c044e3bd10844f5c737b21feae2 (patch) | |
tree | 1260f003b2351627ef0fa8fe0c1cb6f8ef630bdf /include/text.php | |
parent | f1bf6dcdfb89bf3c21e498ba3d76c600dafed934 (diff) | |
parent | aef737f37637270b4f79ea390ee23a61f7fcb4ba (diff) | |
download | volse-hubzilla-a3dcf491f14d6c044e3bd10844f5c737b21feae2.tar.gz volse-hubzilla-a3dcf491f14d6c044e3bd10844f5c737b21feae2.tar.bz2 volse-hubzilla-a3dcf491f14d6c044e3bd10844f5c737b21feae2.zip |
Merge pull request #57 from fabrixxm/master
template processor optimizations
Diffstat (limited to 'include/text.php')
-rwxr-xr-x | include/text.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php index 4276b7fcb..042ee982c 100755 --- a/include/text.php +++ b/include/text.php @@ -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; }} |