Routing - subfolder [solved] |
[eluser]überfuzz[/eluser]
I have a admin area on a site. The admin controllers are placed in a subfolder like this: Code: controllers/admin/home.php How do I reach the controllers in the admin folder? I tried to write some custom routes in the config/routes.php. No luck! Some pointers would be appreciated... Or am I barking up the wrong tree, should I work this differently..?
[eluser]überfuzz[/eluser]
The urls I'm looking for: www.site.com/folder/controller/method
[eluser]Samuurai[/eluser]
I know it's solved, but I found this post which helped me: http://ellislab.com/forums/viewthread/99699/
[eluser]überfuzz[/eluser]
Well thank you dude! I just had to think CI like to get it running... Actually, I stripped all fancy pancy stuff. It's running smoothly with the default folder routing, I just had to structure it differently. |
Welcome Guest, Not a member yet? Register Sign In |