Cannot access protected property CodeIgniter\HTTP\IncomingRequest::$uri |
Do you use automatic routing? Or do you create all routes manually?
Without autorouting, you can change your filter to match the route names. This is a more reliable option. It does not depend on URLs. Try to implement this and you will be surprised how much less you need to edit new CI4 changes. See https://codeigniter4.github.io/userguide...med-routes Example code: PHP Code: // Routes with names "as": users, about,... |
Welcome Guest, Not a member yet? Register Sign In |