website/public/index.php

10 lines
199 B
PHP
Raw Permalink Normal View History

2021-08-05 13:51:44 +02:00
<?php
use App\Kernel;
2021-08-05 13:51:44 +02:00
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
2021-08-05 13:51:44 +02:00
return function (array $context) {
return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
};