]> git.mxchange.org Git - friendica.git/blobdiff - mod/profile.php
don't use load_view_file() except in email templates and install of htconfig - to...
[friendica.git] / mod / profile.php
index 2af6f2429bb1033fa5694cf5f0ce8a18ca64c8a6..0691c64b33f6e10181a8dd5a784d8c560de4e42f 100644 (file)
@@ -104,7 +104,7 @@ function profile_content(&$a, $update = 0) {
                if(x($_GET,'tab'))
                        $tab = notags(trim($_GET['tab']));
 
-               $tpl = load_view_file('view/profile_tabs.tpl');
+               $tpl = file_get_contents('view/profile_tabs.tpl');
 
                $o .= replace_macros($tpl,array(
                        '$url' => $a->get_baseurl() . '/' . $a->cmd,