Welcome Guest, Not a member yet? Register   Sign In
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



Theme © iAndrew 2016 - Forum software by © MyBB