codeigniter

Codeigniter create custom config

Codeigniter create custom config

Create config file in ‘application\config’ folder, give any name (for example I have given ‘cust_settings.php’ [application\config\cust_settings.php] )

You can use ‘config->load()’ function to load the configuration and ‘$this->config->item()’ to retrieve the configuration values

Output

For using this we can load multiple configuration files

 

ref: codeigniter.com

 

1 Like
By bm on January 24, 2018 | codeigniter | A comment?