Summary Files Commits Branches @commit @diff @stats
path: root / src / index.php
diff options
context:
space:
mode:
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: