magnetico-web/public/index.php

11 lines
224 B
PHP
Raw Normal View History

2018-06-20 16:35:08 +00:00
<?php
declare(strict_types=1);
2018-06-20 16:35:08 +00:00
use App\Kernel;
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
return function (array $context) {
return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
};