webapp/public/index.php

10 lines
199 B
PHP
Raw Normal View History

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