bugfixes, cleanup, usercp menu changes

This commit is contained in:
Joey Kimsey
2024-12-05 15:34:36 -05:00
parent bf7b7ba1c9
commit b93d0259e4
10 changed files with 28 additions and 13 deletions

View File

@ -316,6 +316,8 @@ class TheTempusProject extends Bedrock {
]
];
public static $userCPlinks = [];
/**
* The constructor takes care of everything that we will need before
* finally calling appload to instantiate the appropriate controller/method.
@ -362,6 +364,24 @@ class TheTempusProject extends Bedrock {
}
}
// load the damn usercp menu n a retarded fashion
self::$userCPlinks[] = (object) [
"url" => "{ROOT_URL}usercp",
"name" => "Profile"
];
self::$userCPlinks[] = (object) [
"url" => "{ROOT_URL}usercp/settings",
"name" => "Settings"
];
self::$userCPlinks[] = (object) [
"url" => "{ROOT_URL}usercp/email",
"name" => "Change Email"
];
self::$userCPlinks[] = (object) [
"url" => "{ROOT_URL}usercp/password",
"name" => "Change Password"
];
Debug::gend();
}
@ -546,6 +566,7 @@ class TheTempusProject extends Bedrock {
}
return null;
}
/**
* Echos useful information about the installation.
*