Welcome Guest, Not a member yet? Register   Sign In
Autoload config and models trick
#5

The database does NOT have to be preloaded prior to loading a model. If you want to wait to load the database until needed, just make sure you pass in TRUE as the third parameter to $this->load->model() and it will auto-connect at that point.
Reply


Messages In This Thread
RE: Autoload config and models trick - by kilishan - 04-20-2015, 09:55 AM



Theme © iAndrew 2016 - Forum software by © MyBB