From a8e625f47a8b197f6cb89b67f37ef5d0a756619d Mon Sep 17 00:00:00 2001 From: Sem Date: Thu, 3 Nov 2011 20:37:47 +0100 Subject: Removed all $CONFIG and pg/ appearitions. --- all.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'all.php') diff --git a/all.php b/all.php index 98b180525..caccd7c3e 100644 --- a/all.php +++ b/all.php @@ -22,7 +22,7 @@ if ($page_owner === false || is_null($page_owner)) { $title = sprintf(elgg_echo("videolist:search")); // get the filter menu -$friend_link = $CONFIG->wwwroot . "pg/videolist/friends/" . $page_owner->username; +$friend_link = elgg_get_site_url() . "videolist/friends/" . $page_owner->username; // Get objects $area1 = elgg_view('page_elements/content_header', array('context' => "everyone", 'type' => 'videolist', 'friend_link' => $friend_link)); set_input('show_viewtype', 'all'); @@ -41,4 +41,4 @@ set_context('videolist'); $body = elgg_view_layout('one_column_with_sidebar', $area1.$area2, $area3); // Finally draw the page -page_draw($title, $body); \ No newline at end of file +page_draw($title, $body); -- cgit v1.2.3