public/index.php line 6

  1. <?php
  2. use App\Kernel;
  3. //$_SERVER['APP_RUNTIME_OPTIONS']['dotenv_path'] = 'env/.env';
  4. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  5. return function (array $context) {
  6. //    return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  7.     return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  8. };