<?php
error_reporting(E_ALL);
ini_set('display_errors', 1);
use App\Kernel;
use Imperium\Config\iConfig;
require_once dirname(__DIR__). '/vendor/autoload_runtime.php';
iConfig::initConfig();
return function (array $context) {
return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
};