Which file needs to be modified to autoload a custom library in CodeIgniter?

  • autoload.php
  • config.php
  • database.php
  • index.php
In CodeIgniter, to autoload a custom library, you need to modify the autoload.php file located in the config folder. This file contains the configuration settings for autoloading various resources, including libraries. You can add your library to the autoload configuration array in this file to load it automatically when the application starts.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *