]> git.mxchange.org Git - friendica.git/blobdiff - mod/invite.php
don't use load_view_file() except in email templates and install of htconfig - to...
[friendica.git] / mod / invite.php
index 1c511959574820d0a4646ec8ccea2a3538306559..325ba9fbdefc54d510ff76f597dff2c2736b0b68 100644 (file)
@@ -55,7 +55,7 @@ function invite_content(&$a) {
                return;
        }
 
-       $tpl = load_view_file('view/invite.tpl');
+       $tpl = file_get_contents('view/invite.tpl');
        
        $o = replace_macros($tpl, array(
                '$invite' => t('Send invitations'),