Welcome Guest, Not a member yet? Register   Sign In
__construct in Modules
#1

public function __construct()
{
          $this->load->database();
}


The modules have that for the Database at the beginning

What should that be for version 4? I can't find an example.


Thanks
Reply
#2

(This post was last modified: 01-17-2024, 04:39 AM by Knutsford.)

Am I right in thinking that isn't needed for version 4? or isit just the line $this->load->database(); that isn't needed
Reply
#3

See https://www.codeigniter.com/user_guide/d...ault-group
Reply




Theme © iAndrew 2016 - Forum software by © MyBB