Summary Files Commits Branches @commit @diff @stats
path: root / src / index.php
diff options
context:
space:
mode:
Commitfb2645d444729d656a209ef586a13fb569429280 (patch)
Author
 Kamen Mladenov <kamen.d.mladenov@protonmail.com>
2021-04-03 18:27:33 +0300
Committer
 GitHub <noreply@github.com>
2021-04-03 18:27:33 +0300
Files91daafcdb8af6cd41551bbf442f4be77dee575a4 /src/index.php
devrix-job-board-1.0.tar
devrix-job-board-1.0.tar.gz
devrix-job-board-1.0.zip
Parent67bc860ea4b3db5033a42038ab86d0df955c9295 (diff)
Parent3b0cbc90e3046a8bb979c2b9a17fae5a94bb2707 (diff)
Merge pull request #3 from Syndamia/dev v1.0
Exam version finished
1 files changed, 9 insertions, 9 deletions
-rw-r--r--src/index.php18
diff --git a/src/index.php b/src/index.php
index 8b45dea..be262cd 100644
--- a/src/index.php
+++ b/src/index.php
@@ -30,9 +30,9 @@
</nav>
<?php
- include_once("controllers/LandingController.php");
- include_once("controllers/CreateOfferController.php");
- include_once("controllers/DashboardLoginController.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)
@@ -42,16 +42,16 @@
$request = $_SERVER['REQUEST_URI'];
switch ($request) {
- case "":
- case "/":
+ case '':
+ case '/':
LandingController::invoke();
break;
- case "/CreateOffer":
- case "/CreateOffer/":
+ case '/CreateOffer':
+ case '/CreateOffer/':
CreateOfferController::invoke();
break;
- case "/Dashboard":
- case "/Dashboard/":
+ case '/Dashboard':
+ case '/Dashboard/':
DashboardLoginController::invoke();
break;
default: