Welcome Guest, Not a member yet? Register   Sign In
External config
#1

[eluser]Unknown[/eluser]
Hello.
I have a CI folder in /var/www/ and there is also an external program. I need to have a shared config between my CI and the program, for example /etc/shared.conf
The params in the shared.conf won't be in php style ($param = value), maybe they'll be in json or something.

How can I use external config in CI? Some variables in /application/config/my_site_conf.php need to be shared. But I guess it won't be the best solution trying to ... open /etc/shared.conf somewhere in appication/config and trying to get params from shared.conf.
Thanks in advance




Theme © iAndrew 2016 - Forum software by © MyBB