2023-01-17 10:33:36 +03:30
|
|
|
<?php
|
|
|
|
|
|
|
|
use App\Kernel;
|
2023-01-26 19:43:53 +03:30
|
|
|
header("Access-Control-Allow-Origin: *");
|
2023-01-17 10:33:36 +03:30
|
|
|
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
|
|
|
|
|
|
|
|
return function (array $context) {
|
|
|
|
return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
|
|
|
|
};
|