[add] Setting up the middleware

This commit is contained in:
2018-08-15 23:41:01 -06:00
parent 86a0540da7
commit df33525a4b
7 changed files with 189 additions and 12 deletions

View File

@@ -11,8 +11,6 @@ if (PHP_SAPI == 'cli-server') {
require __DIR__ . '/../vendor/autoload.php';
session_start();
// Instantiate the app
$settings = require __DIR__ . '/../src/settings.php';
$app = new \Slim\App($settings);