<?php
ini_set('display_errors', 1);
use App\Kernel;
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
define('ROOT_DIR', dirname(__DIR__));
define('VENDOR_DIR', realpath(ROOT_DIR).'/vendor');
define('CONFIG_DIR', realpath(ROOT_DIR).'/config');
define('SERVICE_DIR', realpath(ROOT_DIR).'/scr/Service');
define('INVENTUR_UPLOAD_DIR', realpath(ROOT_DIR).'/uploads/inventur');
return function (array $context) {
return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
};