aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorSimon <simon@kisikew.org>2012-03-02 07:55:38 -0800
committerSimon <simon@kisikew.org>2012-03-02 07:55:38 -0800
commita3dcf491f14d6c044e3bd10844f5c737b21feae2 (patch)
tree1260f003b2351627ef0fa8fe0c1cb6f8ef630bdf /include/text.php
parentf1bf6dcdfb89bf3c21e498ba3d76c600dafed934 (diff)
parentaef737f37637270b4f79ea390ee23a61f7fcb4ba (diff)
downloadvolse-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-xinclude/text.php8
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;
}}