aboutsummaryrefslogtreecommitdiff
path: root/mod/blog/blog_lib.php
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-24 22:50:57 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-24 22:50:57 +0000
commit98229e3edb481a469f375376b694be43bc2a1b0d (patch)
tree5f3769fc7001be9f1ddd7c95d938d1df44cbcc21 /mod/blog/blog_lib.php
parenteef797bcbc60823023fb8e1b35ddff1523d86dce (diff)
downloadelgg-98229e3edb481a469f375376b694be43bc2a1b0d.tar.gz
elgg-98229e3edb481a469f375376b694be43bc2a1b0d.tar.bz2
Removing superfluous calls to insert site root in urls
git-svn-id: http://code.elgg.org/elgg/trunk@7438 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/blog/blog_lib.php')
-rw-r--r--mod/blog/blog_lib.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/blog/blog_lib.php b/mod/blog/blog_lib.php
index 52d629a99..593495a0e 100644
--- a/mod/blog/blog_lib.php
+++ b/mod/blog/blog_lib.php
@@ -32,7 +32,7 @@ function blog_get_page_content_read($owner_guid = NULL, $guid = NULL) {
$content = elgg_view('page_elements/content_header', array(
'context' => $owner_guid ? 'mine' : 'everyone',
'type' => 'blog',
- 'all_link' => "{$CONFIG->site->url}pg/blog"
+ 'all_link' => "pg/blog"
));
$options = array(
@@ -202,7 +202,7 @@ function blog_get_page_content_friends($user_guid) {
$content = elgg_view('page_elements/content_header', array(
'context' => 'friends',
'type' => 'blog',
- 'all_link' => "{$CONFIG->site->url}pg/blog"
+ 'all_link' => "pg/blog"
));
if (!$friends = get_user_friends($user_guid, ELGG_ENTITIES_ANY_VALUE, 0)) {