If you want to Model configuration in Codeigniter framework, follow this steps:
- First of all, you need to go your project folder.
- Open application folder and choose config folder.
- Next, open config folder and select the autoload.php file.
- In autoload.php file past this code.
application/config/autoload.php $autoload['model'] = array('Model Name');
If you want add more Model here, then try this
$autoload['model'] = array('First Model Name','Second Model Name');
Question and answer is powered by AnsPress.io