]> git.mxchange.org Git - friendica.git/blobdiff - include/text.php
scrape_dfrn now scrapes the address as well.
[friendica.git] / include / text.php
index b5010864e68853b82c2f93b1e0c6f7b7941d5262..f210bff72100c363ee4355fb0a07eed4a86d90f8 100644 (file)
@@ -20,6 +20,10 @@ function replace_macros($s,$r) {
        $stamp1 = microtime(true);
 
        $a = get_app();
+       
+       // pass $baseurl to all templates
+       $r['$baseurl'] = $a->get_baseurl();
+       
 
        $t = $a->template_engine();
        try {