• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help: Where to put my controller function logged_in()

#5
[eluser]WanWizard[/eluser]
CI doesn't have any class autoloading capabilities, so in theory you can put them where you want them.
You have to load them manually before the controller gets loaded.

As of CI 2.0, I would suggest putting them in core, together with MY_Controller. For CI 1.7.x, libraries is the place to store them.


Messages In This Thread
Help: Where to put my controller function logged_in() - by El Forum - 03-19-2011, 04:31 AM
Help: Where to put my controller function logged_in() - by El Forum - 03-19-2011, 04:49 AM
Help: Where to put my controller function logged_in() - by El Forum - 03-19-2011, 05:08 AM
Help: Where to put my controller function logged_in() - by El Forum - 03-19-2011, 05:27 AM
Help: Where to put my controller function logged_in() - by El Forum - 03-19-2011, 05:48 AM
Help: Where to put my controller function logged_in() - by El Forum - 03-19-2011, 08:19 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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