From e84eb4ae54ceaa329d154bcac214be281e71ba0a Mon Sep 17 00:00:00 2001 From: canyonknight Date: Sat, 15 Sep 2012 10:22:50 -0400 Subject: Overhaul ability to edit own account * Restructure account.php to remove redundant code. * Remove own_account_details(). * Rework logic check to default to no access to account edit form. * Make default account action viewing account info. Signed-off-by: canyonknight Signed-off-by: Lukas Fleischer --- web/html/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'web/html/index.php') diff --git a/web/html/index.php b/web/html/index.php index 0e36883..70698a4 100644 --- a/web/html/index.php +++ b/web/html/index.php @@ -60,8 +60,9 @@ if (isset($tokens[1]) && '/' . $tokens[1] == get_pkg_route()) { } else { $_REQUEST['Action'] = "AccountInfo"; } + } else { + $_REQUEST['Action'] = "AccountInfo"; } - } include get_route('/' . $tokens[1]); } elseif (get_route($path) !== NULL) { -- cgit v1.2.3-70-g09d2