Welcome Guest, Not a member yet? Register   Sign In
$route['(:any)/(:any)'] and $route['(:any)'] problem when using together
#4

[eluser]CroNiX[/eluser]
You need to reverse those so that the more specific route (with 2 segments) comes before the one with one. Otherwise, it will always match the first route because of the (:any) in the first segment, regardless of any extra segments that are present in the request.


Messages In This Thread
$route['(:any)/(:any)'] and $route['(:any)'] problem when using together - by El Forum - 08-29-2012, 01:33 PM



Theme © iAndrew 2016 - Forum software by © MyBB