Closed AlexJMcloud closed 3 months ago
I opened it here because I didn’t receive a response in the fork with version php 8.1.
Change the routes order. Load first the admin routes and then the dynamic language routes.
Change the routes order. Load first the admin routes and then the dynamic language routes.
I wrote my own router. Sometimes it’s easier to do it yourself than to research crap code.
When specifying the route '/{lang}/' and '/admin/' - the router selects the first match. Route '/admin/' - it completely ignores. How can I fix this behavior?
the same behavior is observed with other routes: '/{lang}/auth/login' and '/admin/auth/login/'. However, their controller is different.