"; var_dump($d); if ($type) { exit; } } Boot::setTime(); Boot::bootSentry(); Boot::bootDb(); $guzzle_factory = new HttpFactory(); $response_factory = new DecoratedResponseFactory($guzzle_factory, $guzzle_factory); $app = AppFactory::create($response_factory); $app->add(new ErrorHandler()); $routes = require_once __DIR__ . '/../app/routes.php'; $routes($app); $request = ServerRequest::fromGlobals(); $request = new Slim\Http\ServerRequest($request); $app->run($request);