summaryrefslogtreecommitdiffstats
path: root/web/html/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/html/index.php')
-rw-r--r--web/html/index.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/web/html/index.php b/web/html/index.php
index e6f3771..8013362 100644
--- a/web/html/index.php
+++ b/web/html/index.php
@@ -51,7 +51,15 @@ if (isset($tokens[1]) && '/' . $tokens[1] == get_pkg_route()) {
} elseif (isset($tokens[1]) && '/' . $tokens[1] == get_user_route()) {
if (isset($tokens[2])) {
$_REQUEST['U'] = $tokens[2];
- $_REQUEST['Action'] = "AccountInfo";
+
+ if (isset($tokens[3])) {
+ if ($tokens[3] == 'edit') {
+ $_REQUEST['Action'] = "DisplayAccount";
+ } else {
+ $_REQUEST['Action'] = "AccountInfo";
+ }
+ }
+
}
include get_route('/' . $tokens[1]);
} elseif (get_route($path) !== NULL) {