Best place for loading web app settings from database |
Hi scion,
I did that for a project one day. I created a config_model, and extended the CI_Controller with my own controller (in the core folder C.F. MY_Controller) see http://www.codeigniter.com/user_guide/ge...asses.html PHP Code: class MY_Controller extends CI_Controller { after that, $config can be accessible by a $this->config if your controller extend MY_Controller and not CI_Controller i'm agree with josepostiga. "DON'T TOUCH THE SYSTEM'S FOLDER !!!!!" |
Messages In This Thread |
Best place for loading web app settings from database - by scion - 01-25-2016, 11:31 AM
RE: Best place for loading web app settings from database - by ciadmin - 01-25-2016, 12:03 PM
RE: Best place for loading web app settings from database - by josepostiga - 01-26-2016, 08:23 AM
RE: Best place for loading web app settings from database - by keulu - 01-26-2016, 09:35 AM
|