Re-mapping URI segments when using sub-folders in /controllers |
[eluser]Matthew Pennell[/eluser]
I'm using a sub-folder for my controllers, so I can do: http://www.example.com/sub-folder/controller/method/id However, this means that the id passed through above is in $this->uri->segment(4) instead of segment 3 where it normally would be. Is there any way to either: a) Re-map the URI segments so 4 is 3 and so on; or b) Use the routes.php re-mapping rules to map requests onto controllers in sub-folders while retaining the correct numbering of URI segments? ![]() |
Messages In This Thread |
Re-mapping URI segments when using sub-folders in /controllers - by El Forum - 09-01-2007, 03:49 AM
Re-mapping URI segments when using sub-folders in /controllers - by El Forum - 09-01-2007, 05:02 AM
Re-mapping URI segments when using sub-folders in /controllers - by El Forum - 09-01-2007, 05:36 AM
Re-mapping URI segments when using sub-folders in /controllers - by El Forum - 09-01-2007, 10:57 AM
|