Welcome Guest, Not a member yet? Register   Sign In
Personal configuration file
#1

[eluser]ariok[/eluser]
Hi!
Some one could tell me which's the best way to import a personal configuration file?

Example:
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
#2

[eluser]stevepaperjam[/eluser]
http://ellislab.com/codeigniter/user-gui...onfig.html

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

[eluser]phester[/eluser]
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.




Theme © iAndrew 2016 - Forum software by © MyBB