<?php
use App\Kernel;
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
// Pour LWS derrière un proxy
$_SERVER['HTTPS'] = 'on';
return function (array $context) {
return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
//return new Kernel($context['APP_ENV'], true);
};