webcron/public/index.php

10 lines
199 B
PHP
Raw Permalink Normal View History

2017-04-14 15:58:09 +02:00
<?php
2022-04-27 14:24:48 +02:00
use App\Kernel;
2021-04-06 22:20:18 +02:00
2022-04-27 14:24:48 +02:00
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
2021-04-06 22:20:18 +02:00
2022-04-27 14:24:48 +02:00
return function (array $context) {
return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
};