Welcome Guest, Not a member yet? Register   Sign In
Random segment 1? possible?
#4

[eluser]xwero[/eluser]
Because you want a catch all route the only way to use controllers is to use a regular expression or with all your controllers in before the catch all.
Code:
$route['(controller1|controller2)/(.)+'] = '$1/$2';
$route['(controller1|controller2)'] = '$1';
$route['(.)+'] = 'controller/method/$1';


Messages In This Thread
Random segment 1? possible? - by El Forum - 03-21-2008, 09:47 PM
Random segment 1? possible? - by El Forum - 03-21-2008, 09:50 PM
Random segment 1? possible? - by El Forum - 03-21-2008, 10:09 PM
Random segment 1? possible? - by El Forum - 03-21-2008, 10:25 PM



Theme © iAndrew 2016 - Forum software by © MyBB