Website/public/index.php

10 lines
209 B
PHP
Raw Normal View History

2023-10-29 17:01:21 +00:00
<?php
2024-07-30 03:36:45 +00:00
use App\Framework\Kernel;
2023-10-29 17:01:21 +00:00
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
return function (array $context) {
return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
};