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/photos.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/photos.php') diff --git a/mod/photos.php b/mod/photos.php index b10399215..70bb5ff3d 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -1247,7 +1247,7 @@ function photos_content(&$a) { $paginate = paginate($a); } - $photo_tpl = file_get_contents('view/photo_view.tpl'); + $photo_tpl = load_view_file('view/photo_view.tpl'); $o .= replace_macros($photo_tpl, array( '$id' => $ph[0]['id'], '$album' => array($album_link,$ph[0]['album']), -- cgit v1.2.3