htdocs/index.php line 6

Open in your IDE?
  1. <?php
  2. use Mm\Escmid\EscmidEnvironment;
  3. use Mm\Escmid\EscmidKernel;
  4. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  5. return function (array $context) {
  6. $env = EscmidEnvironment::fromApplicationContext($context);
  7. return new EscmidKernel($env, (bool) $context['APP_DEBUG']);
  8. };