Création de la gestion des catégorie

This commit is contained in:
Serreau Jovann
2026-02-13 16:29:57 +01:00
parent fcfcc1e219
commit 996ecf6637

View File

@@ -58,17 +58,5 @@ class RedirecListener
return;
}
}
// --- Logique RESERVATION ---
if (str_contains($pathInfo, "/reservation")) {
$path = str_replace("/reservation", "", $pathInfo);
if ($host === "reservation.ludikevent.fr") {
$redirect = new RedirectResponse("https://reservation.ludikevent.fr" . $path);
$redirect->setStatusCode(Response::HTTP_MOVED_PERMANENTLY);
$event->setResponse($redirect);
$event->stopPropagation();
return;
}
}
}
}