<?php

use App\Kernel;

// Several sites share this checkout: pick this request's/command's settings first.
(require dirname(__DIR__).'/config/select_site.php')(dirname(__DIR__));

require_once dirname(__DIR__).'/vendor/autoload_runtime.php';

return function (array $context) {
    return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
};
