regular expression trouble... |
[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) |
Messages In This Thread |
regular expression trouble... - by El Forum - 07-18-2007, 01:24 PM
regular expression trouble... - by El Forum - 07-18-2007, 02:19 PM
regular expression trouble... - by El Forum - 07-18-2007, 02:19 PM
regular expression trouble... - by El Forum - 07-18-2007, 02:23 PM
|