From a00813497fccf295d72e35537599409b3f1eaa22 Mon Sep 17 00:00:00 2001 From: Friendika Date: Tue, 10 May 2011 23:35:31 -0700 Subject: bring back load_view_file for dispy templates --- mod/profile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/profile.php') diff --git a/mod/profile.php b/mod/profile.php index 0691c64b3..2af6f2429 100644 --- a/mod/profile.php +++ b/mod/profile.php @@ -104,7 +104,7 @@ function profile_content(&$a, $update = 0) { if(x($_GET,'tab')) $tab = notags(trim($_GET['tab'])); - $tpl = file_get_contents('view/profile_tabs.tpl'); + $tpl = load_view_file('view/profile_tabs.tpl'); $o .= replace_macros($tpl,array( '$url' => $a->get_baseurl() . '/' . $a->cmd, -- cgit v1.2.3