xrg.es/backend/public/index.php

12 lines
232 B
PHP
Raw Normal View History

2022-01-09 11:08:42 +00:00
<?php
declare(strict_types=1);
use App\Kernel;
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
return static function (array $context) {
return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
};