aboutsummaryrefslogtreecommitdiff
path: root/mod/blog/start.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/start.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/start.php')
-rw-r--r--mod/blog/start.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/blog/start.php b/mod/blog/start.php
index 091099e2f..08b7541b3 100644
--- a/mod/blog/start.php
+++ b/mod/blog/start.php
@@ -97,7 +97,7 @@ function blog_page_handler($page) {
$username = $page[0];
// push breadcrumb
- elgg_push_breadcrumb(elgg_echo('blog:blogs'), "{$CONFIG->site->url}pg/blog");
+ elgg_push_breadcrumb(elgg_echo('blog:blogs'), "pg/blog");
// forward away if invalid user.
if (!$user = get_user_by_username($username)) {
@@ -107,7 +107,7 @@ function blog_page_handler($page) {
set_page_owner($user->getGUID());
$crumbs_title = elgg_echo('blog:owned_blogs', array($user->name));
- $crumbs_url = "{$CONFIG->site->url}pg/blog/$username/read";
+ $crumbs_url = "pg/blog/$username/read";
elgg_push_breadcrumb($crumbs_title, $crumbs_url);
$action = isset($page[1]) ? $page[1] : FALSE;