07-18-2007, 02:19 PM
[eluser]danoph[/eluser]
i found a solution.
$route['^(?!store|sell).*'] = "home/$0";
this allows for multiple controllers (store and sell) as well as functions within a certain controller (home) to use simple urls:
http://localhost/contact (uses home controller, function contact)
http://localhost/sell (uses sell controller)
http://localhost/store (uses store controller)
i found a solution.
$route['^(?!store|sell).*'] = "home/$0";
this allows for multiple controllers (store and sell) as well as functions within a certain controller (home) to use simple urls:
http://localhost/contact (uses home controller, function contact)
http://localhost/sell (uses sell controller)
http://localhost/store (uses store controller)