hesabixCore/public/index.php
2023-01-26 11:13:53 -05:00

10 lines
240 B
PHP

<?php
use App\Kernel;
header("Access-Control-Allow-Origin: *");
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
return function (array $context) {
return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
};