![]() |
How to get a database value to the config file? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: How to get a database value to the config file? (/showthread.php?tid=12248) |
How to get a database value to the config file? - El Forum - 10-12-2008 [eluser]geshan[/eluser] I need a system with changeable themes, so I need to get the active/current theme from the database to the config file from where I can access it in helpers and controllers. How do I do it??? How to get a database value to the config file? - El Forum - 10-12-2008 [eluser]@li[/eluser] http://ellislab.com/codeigniter/user-guide/libraries/config.html Quote:Setting a Config Item How to get a database value to the config file? - El Forum - 10-12-2008 [eluser]geshan[/eluser] will it be accessible to multiple controllers/modules in HMVC? |