public/index.php line 8

Open in your IDE?
  1. <?php
  2. use App\Kernel;
  3. ini_set('max_execution_time''3600');
  4. ini_set('memory_limit''5000M');
  5. define('BASE_DIR',dirname(__DIR__));
  6. define('BASE_URL'$_SERVER["REQUEST_SCHEME"].'://'.$_SERVER["HTTP_HOST"]);
  7. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  8. return function (array $context) {
  9.     return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  10. };