Add route for admin panel

feature/node-rewrite
Sven Slootweg 13 years ago
parent b39147daf4
commit 5a7198cace

@ -50,9 +50,10 @@ try
$mainrouter->routes = array(
0 => array(
'^/?$' => "module.list.php",
'^/account/?$' => "module.account.php",
'^/account/?$' => "module.account.php",
'^/login/?$' => "module.login.php",
'^/logout/?$' => "module.logout.php",
'^/admin(/.*)?$' => "module.admin.php",
'^/([0-9]+)(/.*)?$' => "module.vps.php"
)
);

Loading…
Cancel
Save