Saving data from DB to a config file |
[eluser]the_unforgiven[/eluser]
Hi All, I have setup a custom config file in application/config/web.php is the file name. And in there I want to get a row from the database and place this or whatever is in the row at that time and save it the config file. Code: <?php I'm using wiredesignz modular system so everything is set up in a folder called modules, and I have a model in my folder like so: application/modules/settings/models/wc_settings.php So how would I call this to just show the site_title in the config file?
[eluser]Harold Villacorte[/eluser]
Can't you just instantiate the super object in the config file and load the model that way? |
Welcome Guest, Not a member yet? Register Sign In |