List the resources that can be autoloaded in Codeigniter?

devquora
devquora

Posted On: Feb 22, 2018

 

The following items can be loaded automatically:
  • Classes found in the libraries/ directory
  • Helper files found in the helpers/ directory
  • Custom config files found in the config/ directory
  • Language files found in the system/language/ directory
  • Models found in the models/ folder

To autoload resources, open the application/config/autoload.php file and add the item you want loading to the autoload array. You’ll find instructions in that file corresponding to each type of item.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    CodeIgniter Interview Questions

    How to check the version of CodeIgniter framework?

    How to check the version of CodeIgniter framework?..