diff options
author | Sem <sembrestels@riseup.net> | 2011-11-03 20:37:47 +0100 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2011-11-03 20:37:47 +0100 |
commit | a8e625f47a8b197f6cb89b67f37ef5d0a756619d (patch) | |
tree | 1f1df7f065d8c2961d33eb58d2ff484d5dfe4108 /friends.php | |
parent | de84bf42063eae58bd5832d125c6445b5315baaf (diff) | |
download | elgg-a8e625f47a8b197f6cb89b67f37ef5d0a756619d.tar.gz elgg-a8e625f47a8b197f6cb89b67f37ef5d0a756619d.tar.bz2 |
Removed all $CONFIG and pg/ appearitions.
Diffstat (limited to 'friends.php')
-rw-r--r-- | friends.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/friends.php b/friends.php index d9e84e896..8d90ae1a3 100644 --- a/friends.php +++ b/friends.php @@ -11,8 +11,6 @@ // Start engine require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php"); - -global $CONFIG; $page_owner = page_owner_entity(); if ($page_owner === false || is_null($page_owner)) { @@ -21,7 +19,7 @@ if ($page_owner === false || is_null($page_owner)) { } // 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 the filter menu $area1 = elgg_view("page_elements/content_header", array('context' => "friends", 'type' => 'videolist', 'friend_link' => $friend_link)); |