This commit is contained in:
2021-12-20 22:43:43 -03:00
parent 9f47c8a85f
commit e9c63abc3a
2 changed files with 8 additions and 0 deletions

View File

@ -24,4 +24,11 @@ class Base {
$key = urlencode(base64_encode($signature));
return $this->withJson($response, ['key' => $key]);
}
public function info(Request $request, Response $response): Response {
ob_start();
phpinfo();
$data = ob_get_clean();
$response->getBody()->write($data);
return $response;
}
}