• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.