app/public/index.php line 11

Open in your IDE?
  1. <?php
  2. use App\Kernel;
  3. $_SERVER['APP_RUNTIME_OPTIONS']['dotenv_path'] = 'app/.env';
  4. if (!defined('PATH_DOCROOT')) {
  5.     define('PATH_DOCROOT'dirname(__FILE__,3).'/');
  6. }
  7. require_once dirname(__DIR__2).'/vendor/autoload_runtime.php';
  8. return function (array $context) {
  9.     return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  10. };