Welcome Guest, Not a member yet? Register   Sign In
upgraded from 3.0.1 to 3.0.2 , routes problem
#9

(10-12-2015, 05:44 AM)AminTheGreat Wrote:
(10-12-2015, 04:18 AM)InsiteFX Wrote: (:any) routes should always be placed last in your routes.php file

And like Narf stated they work in the order they are defined.

Thanks to you anf Narf, my problem has been solved by your solutions.
I wonder why that code was working properly in CI301

Because there was a short-circuit condition that checked for literal (non-regexp) matches first. It was removed because with new features added to the router, it increased code complexity and made it hard to maintain.
Reply


Messages In This Thread
RE: upgraded from 3.0.1 to 3.0.2 , routes problem - by Narf - 10-12-2015, 06:07 AM



Theme © iAndrew 2016 - Forum software by © MyBB