Which of the following files is crucial for configuring CodeIgniter's URL routing?
- config.php
- index.php
- routes.config
- routes.php
The routes.php file is crucial for configuring CodeIgniter's URL routing. It is located in the config directory and allows you to define custom URL routes, specify controllers and methods, and set default routes. This file plays a key role in defining how URLs are mapped to controllers and methods in a CodeIgniter application.
Loading...
Related Quiz
- Which of the following CodeIgniter features is essential for handling RESTful API requests efficiently?
- Which file in CodeIgniter is used to set up database connection details?
- In a recent security breach, an SQL injection attack was used to access sensitive data. The initial investigation should focus on the ________ used in the application.
- What is the primary purpose of logging in CodeIgniter?
- In CodeIgniter, setting the ________ parameter to FALSE disables auto-commit for the transaction.