mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Admin:
* added pages config and phpinfo * config can also set php-vars (restrictions apply) * commented menu items that will not be implemented in near future Misc: * deleted a greedily grabbed icon, unrealated to aowow
This commit is contained in:
@@ -31,6 +31,8 @@ switch ($pageCall)
|
||||
/* called by user */
|
||||
case '': // no parameter given -> MainPage
|
||||
$altClass = 'home';
|
||||
case 'home':
|
||||
case 'admin':
|
||||
case 'account': // account management [nyi]
|
||||
case 'achievement':
|
||||
case 'achievements':
|
||||
@@ -81,7 +83,7 @@ switch ($pageCall)
|
||||
// case 'user': // tool: user profiles [nyi]
|
||||
case 'zone':
|
||||
case 'zones':
|
||||
if (in_array($pageCall, ['account', 'profile']))
|
||||
if (in_array($pageCall, ['admin', 'account', 'profile']))
|
||||
{
|
||||
if (($_ = (new AjaxHandler($pageParam))->handle($pageCall)) !== null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user