aboutsummaryrefslogtreecommitdiff
path: root/all.php
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2011-11-03 20:37:47 +0100
committerSem <sembrestels@riseup.net>2011-11-03 20:37:47 +0100
commita8e625f47a8b197f6cb89b67f37ef5d0a756619d (patch)
tree1f1df7f065d8c2961d33eb58d2ff484d5dfe4108 /all.php
parentde84bf42063eae58bd5832d125c6445b5315baaf (diff)
downloadelgg-a8e625f47a8b197f6cb89b67f37ef5d0a756619d.tar.gz
elgg-a8e625f47a8b197f6cb89b67f37ef5d0a756619d.tar.bz2
Removed all $CONFIG and pg/ appearitions.
Diffstat (limited to 'all.php')
-rw-r--r--all.php4
1 files changed, 2 insertions, 2 deletions
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);