Welcome Guest, Not a member yet? Register   Sign In
why models are not loading in autoload
#3

(12-13-2019, 01:54 PM)ciadmin Wrote: You're a bit skimpy on details supporting your claim that models aren't autoloaded.

application/config/autoload.php ...
$autoload['model'] = array('customer');

tells CodeIgniter to look for the class "Customer" inside application/models/Customer.php

Note the UCfirst convention.
i knew it  but some model in autoload it will not work and the same model will work when i call it in controller and some are vice versa
why this has been happen and give me a correct link  to download the php and codeigniter should perfectly in that
Reply


Messages In This Thread
RE: why models are not loading in autoload - by Lohith c - 12-13-2019, 11:15 PM



Theme © iAndrew 2016 - Forum software by © MyBB