Welcome Guest, Not a member yet? Register   Sign In
route - any
#1

[eluser]Ericks[/eluser]
Hey,

I want to route every request to one controller.
I tried this but I cant get this to work:

Code:
$route[':any'] = "index";

anything with something before 'any' works just fine (like $route['product/:any'] = "index"Wink, but the above line doesnt. I tried this too

Code:
$route['([a-z]+)'] = "index/$1";

which would be even better for me, but it doesn't work either.

any ideas?


Messages In This Thread
route - any - by El Forum - 07-16-2007, 12:42 AM
route - any - by El Forum - 07-16-2007, 02:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB