From 5a7198cace7103c0caf413a925d792a5da874ae1 Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Mon, 7 May 2012 02:00:03 +0200 Subject: [PATCH] Add route for admin panel --- frontend/rewrite.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/rewrite.php b/frontend/rewrite.php index fa7f597..704a8b0 100644 --- a/frontend/rewrite.php +++ b/frontend/rewrite.php @@ -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" ) );