Welcome Guest, Not a member yet? Register   Sign In
Problems with uri routing
#11

[eluser]wiredesignz[/eluser]
CI 1.6.0 , the version I have is about 2 weeks old

Code:
// Call the requested method.
// Any URI segments present (besides the class/function) will be passed to the method for convenience
call_user_func_array(array(&$CI, $method), array_slice($URI->rsegments,
     ($RTR->fetch_directory() == '') ? 2 : 3));

if you have a $route sub-directory, rsegment[3] is passed to your function instead of rsegment[2].
#12

[eluser]Edemilson Lima[/eluser]
Hmmmm... So, do you think it is fixed in 1.6.0?

If it is, I will wait for it. The release date is near.
#13

[eluser]wiredesignz[/eluser]
I'm not sure if this has been reported.
You should submit a bug indicating this route does not work:

Code:
$route['([a-z]+)/([0-9]+)'] = "$1/details/index/$2";
#14

[eluser]Derek Jones[/eluser]
Please update to the latest SVN before reporting a bug on this, as I'm pretty sure I have resolved it.
#15

[eluser]wiredesignz[/eluser]
Thanks Derek, the route works now.




Theme © iAndrew 2016 - Forum software by © MyBB