Skip to content

Commit

Permalink
Forwarding to index.php after login instead of pg/dashboard.
Browse files Browse the repository at this point in the history
git-svn-id: http://code.elgg.org/elgg/trunk@5333 36083f99-b078-4883-b0ff-0f9b5a30f544
  • Loading branch information
brettp committed Mar 9, 2010
1 parent acfd8d4 commit 0ed684c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion actions/login.php
Expand Up @@ -37,7 +37,9 @@
} else if (get_input('returntoreferer')) {
forward($_SERVER['HTTP_REFERER']);
} else {
forward("pg/dashboard/");
// forward to index for front page overrides.
// index will forward to dashboard if appropriate.
forward('index.php');
}
}
} else {
Expand Down

1 comment on commit 0ed684c

@hypeJunction
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we a add a hook or config to allow plugins change this? (http://trac.elgg.org/ticket/4275)

Please sign in to comment.