diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-09 16:24:26 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-09 16:24:26 +0000 |
commit | 0ed684cbb7984feff60bb357bdf208dc423b6785 (patch) | |
tree | 039a86e6a0e4e440cf8b5ae25cc936f3001fe278 | |
parent | acfd8d4592a99f367a1e8e002fe8812e49c482bd (diff) | |
download | elgg-0ed684cbb7984feff60bb357bdf208dc423b6785.tar.gz elgg-0ed684cbb7984feff60bb357bdf208dc423b6785.tar.bz2 |
Forwarding to index.php after login instead of pg/dashboard.
git-svn-id: http://code.elgg.org/elgg/trunk@5333 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | actions/login.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/actions/login.php b/actions/login.php index 3c6f5a647..3b215da66 100644 --- a/actions/login.php +++ b/actions/login.php @@ -37,7 +37,9 @@ if ($result) { } 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 { |