11-10-2017, 01:19 PM
Hi,
I try run autoload Library
In autoload file /Config/Autoload.php I use this
$classmap = [
'User' => APPPATH . 'libraries/user.php'
];
and I want auto run this class like CI3 $this->load->library('User');
In CI3 this class run automatically constructor, how to do this in CI4?
I new in CI4
I try run autoload Library
In autoload file /Config/Autoload.php I use this
$classmap = [
'User' => APPPATH . 'libraries/user.php'
];
and I want auto run this class like CI3 $this->load->library('User');
In CI3 this class run automatically constructor, how to do this in CI4?
I new in CI4