Summary Files Commits Branches @commit @diff @stats
path: root / src / index.php
diff options
context:
space:
mode:
1 files changed, 5 insertions, 0 deletions
-rw-r--r--src/index.php5
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;