Summary Files Commits Branches @commit @diff @stats
path: root / src / index.php
diff options
context:
space:
mode:
Commit68808a388a61c7a778494739fe0150651a09ea66 (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2021-04-03 09:58:18 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2021-04-03 09:58:18 +0300
Files4109cb4b55ee11efd94563acb5e06bffee3ccbfd /src/index.php
devrix-job-board-68808a388a61c7a778494739fe0150651a09ea66.tar
devrix-job-board-68808a388a61c7a778494739fe0150651a09ea66.tar.gz
devrix-job-board-68808a388a61c7a778494739fe0150651a09ea66.zip
Parent56a5223e14f798e2c875c4347faecc4e2e9730fc (diff)
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.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;