diff options
Implemented a simple login page for (admin) dashboard and skeleton of dashboard controller and view
1 files changed, 5 insertions, 0 deletions
| -rw-r--r-- | src/index.php | 5 |
diff --git a/src/index.php b/src/index.php index b909deb..676cd56 100644 --- a/src/index.php +++ b/src/index.php @@ -3,6 +3,7 @@ <?php include_once("controllers/LandingController.php"); include_once("controllers/CreateOfferController.php"); +include_once("controllers/DashboardLoginController.php"); /* The landing page practically acts as our page router. * All request get redirected to here (look at the devrix-job-board.conf) @@ -20,6 +21,10 @@ switch ($request) { case "/CreateOffer/": CreateOfferController::invoke(); break; + case "/Dashboard": + case "/Dashboard/": + DashboardLoginController::invoke(); + break; default: http_response_code(404); break; |
