public/index.php line 10

Open in your IDE?
  1. <?php
  2. //phpinfo();
  3. //error_log("Test error message");
  4. //trigger_error("Test trigger error", E_USER_WARNING);
  5. //exit();
  6. //file_put_contents('/var/www/html/request_log.txt', date('Y-m-d H:i:s') . ' ' . $_SERVER['REQUEST_URI'] . "\n", FILE_APPEND);
  7. use App\Kernel;
  8. require_once dirname(__DIR__) . '/vendor/autoload_runtime.php';
  9. return function (array $context) {
  10.     return new Kernel($context['APP_ENV'], (bool)$context['APP_DEBUG']);
  11. };