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.
Loading...
Related Quiz
- In the Active Record Class, what method is used to update an existing record in the database?
- The security feature in OAuth that prevents interception of the authorization code is known as ________.
- Advanced usage of the Email Class involves ________ to ensure high deliverability rates.
- In CodeIgniter, the logging level that includes error messages, debug messages, and informational messages is known as ________.
- When debugging an issue where user input is not properly reflected in the database, an expert should first check the ________ component in the MVC architecture.