public/index.php line 5

Open in your IDE?
  1. <?php
  2. use App\Kernel;
  3. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  4. // Pour LWS derrière un proxy
  5. $_SERVER['HTTPS'] = 'on';
  6. return function (array $context) {
  7. return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  8. //return new Kernel($context['APP_ENV'], true);
  9. };