hesabixCore/public_html/index.php

7 lines
257 B
PHP
Raw Normal View History

2023-01-17 10:33:36 +03:30
<?php
use App\Kernel;
2023-09-21 23:04:08 +03:30
require_once dirname(__DIR__).'/hesabixCore/vendor/autoload_runtime.php';
2023-12-30 10:15:30 +03:30
header("Access-Control-Allow-Credentials: true");
2023-01-17 10:33:36 +03:30
return function (array $context) {
return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
};