"; var_dump($aData); if ($iType == 1) { http_response_code(500); 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);