Question:Why the following files are used in codeigniter?
a) config.php
b) autoload.php
c) database.php
d) routes.php 

Answer 


config.php:The Config class provides a means to retrieve configuration preferences. These preferences can come from the default config file (application/config/config.php) or from your own custom config files.

autoload.php: If we find that we need a particular config file globally, we can have it loaded automatically by the system.

database.php: CodeIgniter has a config file that lets store your database connection values (username, password, database name, etc.). The config file is located at: application/config/database.php

routes.phpRouting rules are defined in application/config/routes.php file. That permits to specify own routing criteria. 


Deprecated: html_entity_decode(): Passing null to parameter #1 ($string) of type string is deprecated in D:\webserver\www\vcampusbd_com_https\answers\column_answer_two.php on line 128
+ Report
Total Preview: 1086
Why the following files are used in codeigniter?
a) config.php
b) autoload.php
c) database.php
d) routes.php
Copyright © 2024. Powered by Intellect Software Ltd