CodeIgniter Forums

Full Version: Load two config file in one controller
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Can i load 2 config file in one controller in the construct simultaneously?
Simultaneously implies at the same moment and you cannot do anything "at the same moment" in PHP.

But you can load multiple config files, it just has to be done one at a time.
For example:


Read the Config Class documentation for loads of ways to use config files.