]> git.mxchange.org Git - friendica.git/blobdiff - mod/follow.php
don't use load_view_file() except in email templates and install of htconfig - to...
[friendica.git] / mod / follow.php
index a1412e6c4e097584b22147a85e03765143d666be..2f3cb3c4d7074069714fe9420de6eea299161d5b 100644 (file)
@@ -133,7 +133,7 @@ function follow_post(&$a) {
 
        // create a follow slap
 
-       $tpl = load_view_file('view/follow_slap.tpl');
+       $tpl = file_get_contents('view/follow_slap.tpl');
        $slap = replace_macros($tpl, array(
                '$name' => $a->user['username'],
                '$profile_page' => $a->get_baseurl() . '/profile/' . $a->user['nickname'],