]> git.mxchange.org Git - friendica.git/commitdiff
use z_root
authorrabuzarus <>
Thu, 28 May 2015 14:15:48 +0000 (16:15 +0200)
committerrabuzarus <>
Thu, 28 May 2015 14:15:48 +0000 (16:15 +0200)
mod/allfriends.php
mod/common.php

index b73c55c2268433af39e49c867803b614386c1f75..c32a05a2ce9c8d2ae58f9371f418153312c27f32 100644 (file)
@@ -23,7 +23,7 @@ function allfriends_content(&$a) {
        $vcard_widget .= replace_macros(get_markup_template("vcard-widget.tpl"),array(
                 '$name' => $c[0]['name'],
                 '$photo' => $c[0]['photo'],
-                'url' => $a->get_baseurl() . '/contacts/' . $cid
+                'url' => z_root() . '/contacts/' . $cid
                 ));
 
         if(! x($a->page,'aside'))
index 6a1bf4e31bdc99447dc48bd2cd31b6ec85faa22f..a4320f9eb9cf4f944b9ffdb69ba5698be2a2fb4c 100644 (file)
@@ -31,12 +31,12 @@ function common_content(&$a) {
        $vcard_widget .= replace_macros(get_markup_template("vcard-widget.tpl"),array(
                 '$name' => $c[0]['name'],
                 '$photo' => $c[0]['photo'],
-                'url' => $a->get_baseurl() . '/contacts/' . $cid
+                'url' => z_root() . '/contacts/' . $cid
                 ));
 
         if(! x($a->page,'aside'))
                 $a->page['aside'] = '';
-        $a->page['aside'] .= $vcard_widget;    
+        $a->page['aside'] .= $vcard_widget;
 
        if(! count($c))
                return;