CodeIgniter Forums

Full Version: Personal configuration file
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

Some one could tell me which's the best way to import a personal configuration file?

i need to use in some controllers a file where is set an array of e-mail,
or other similar fast info that i prefer to set directly in one file rather then put this info in my db.

There's a logic and correct way to do that?

Big Grin thank you all for your helps

El Forum


...either load it on a per-controller basis, or autoload (from autoload.php) for application-wide access.

El Forum

I am curious to see if there's an easy way to import configuration settings from an xml file. I see a lot of open source applications storing settings that way.