CodeIgniter Forums
Using custom configuration files - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Using custom configuration files (/showthread.php?tid=52962)



Using custom configuration files - El Forum - 07-03-2012

[eluser]rana[/eluser]
Hi,
I need to use several custom configuration files for my application. But as they are many in numbers, the built in "config" directory may not look goo with a lot of files. So, I planned them to place them in a sub directory named 'custom'. Now, if I try to load those config file using the following codes, it doesn't work. Can anyone please help me how to get this working? Thanks.

Code:
$this->load->config("custom/sample_config");