<?php
use App\Kernel;
require_once dirname(__DIR__) . '/vendor/autoload_runtime.php';
return function (array $context) {
if ($_SERVER['HTTP_HOST'] === 'test-history.grand-art.online') {
$context['APP_ENV'] = 'prod';
$context['APP_DEBUG'] = 0;
}
return new Kernel($context['APP_ENV'], (bool)$context['APP_DEBUG']);
};