![]() |
External config - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: External config (/showthread.php?tid=50524) |
External config - El Forum - 03-29-2012 [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 |