Welcome Guest, Not a member yet? Register   Sign In
[SOLVED] Reduce the number of routing rules?
#4

[eluser]WanWizard[/eluser]
My fault, the slash is seen by the route parser as a URI element, so it must be
Code:
// with the slash
$route['(:any)/(.*)'] = "$3";
or
Code:
// without the slash
$route['(:any)(.*)'] = "$2";


Messages In This Thread
[SOLVED] Reduce the number of routing rules? - by El Forum - 10-25-2010, 11:47 AM
[SOLVED] Reduce the number of routing rules? - by El Forum - 10-25-2010, 12:15 PM
[SOLVED] Reduce the number of routing rules? - by El Forum - 10-25-2010, 12:22 PM
[SOLVED] Reduce the number of routing rules? - by El Forum - 10-25-2010, 12:39 PM
[SOLVED] Reduce the number of routing rules? - by El Forum - 10-25-2010, 12:58 PM



Theme © iAndrew 2016 - Forum software by © MyBB