Welcome Guest, Not a member yet? Register   Sign In
Organizing controllers into subfolders
#1

[eluser]omed habib[/eluser]
I have the url:

test.com/monkey

The controller is located in:

application/controllers/monkey/index.php

The question is...what do I put in this controller file? What do I name the class? Index?
#2

[eluser]Michael Wales[/eluser]
1. Don't put controllers in subfolders.
2. Read the Controllers documentation - there are some great examples in there as to what exactly you need to do.
#3

[eluser]Glen Swinfield[/eluser]
Actually you can put controllers in sub folders. But read the documentation, it explains exactly what you want to know.




Theme © iAndrew 2016 - Forum software by © MyBB