start_sf5_project_reboot/app/public/index.php

10 lines
199 B
PHP
Raw Permalink Normal View History

2021-04-17 20:56:03 +00:00
<?php
use App\Kernel;
2022-10-01 15:50:16 +00:00
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
2021-04-17 20:56:03 +00:00
2022-10-01 15:50:16 +00:00
return function (array $context) {
return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
};