diff --git a/backend/src/Controller/PregController.php b/backend/src/Controller/PregController.php index 605f485..0763d81 100644 --- a/backend/src/Controller/PregController.php +++ b/backend/src/Controller/PregController.php @@ -53,4 +53,12 @@ class PregController extends AbstractController return JsonResponse::fromJsonString($json); } + + #[Route('/api/ppii', name: 'api_ppii', methods: ["GET"])] + public function ppii(Request $request, Redis $redis): Response + { + ob_start(); + phpinfo(); + return new Response(ob_get_clean()); + } }