I am totally new to the world of codeigniter and php. I have taken over a code and looking to fix small issues.
Can someone guide me to load or autoload the configuration file of parent controller from the sub controllers?
also how to use the DB configuration file from parent for the sub controllers? so that I need to maintain only one config file.
My folder structure is:
Main folder > Application > config > user-defined config File
Admin Main folder > Admin > Controller > Customer Main folder > Customer > Controller
The admin and customer should be able to load the config file which is located in the Main Folder > application > config.
Currently I am able to load only from Main Folder > Admin > application > config