webapp/public/index.php

10 lines
199 B
PHP
Raw Normal View History

2021-08-07 10:37:01 +00:00
<?php
2024-02-11 19:59:52 +00:00
use App\Kernel;
2021-08-07 10:37:01 +00:00
2024-02-11 19:59:52 +00:00
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
2021-08-07 10:37:01 +00:00
2024-02-11 19:59:52 +00:00
return function (array $context) {
return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
};