Commit 0c8e6523 authored by Moreau Elise's avatar Moreau Elise
Browse files

add flash messages and session_start

parent 53edeef2
......@@ -7,6 +7,7 @@ use App\Application\ResponseEmitter\ResponseEmitter;
use DI\ContainerBuilder;
use Slim\Factory\AppFactory;
use Slim\Factory\ServerRequestCreatorFactory;
use Slim\Flash\Messages;
require __DIR__ . '/../vendor/autoload.php';
......@@ -32,6 +33,8 @@ $repositories($containerBuilder);
// Build PHP-DI Container instance
$container = $containerBuilder->build();
// Instantiate the app
$app = AppFactory::create();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment