• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Autoloading of configs in cascade

Hello everyone,
I am trying to use CI4 in way that I need to autoload config files from common app folder. My scenario is that I want to have multiple applications that act as the main app but I want to use config files from the common app folder. I would like to have it autoloaded in cascade. Firstly, the application would load necessary configs in own folder like app, paths, routes then rest would be loaded from common app folder but only in the case that application folder doesn't have own configs, that means configs in application folder are superior to those in common config folder.

Why all of this? Idea is to reduce files and in case of a change in common configs, I do not have to overwrite all my application configs but only one.


Messages In This Thread
Autoloading of configs in cascade - by JoellSVK - 07-21-2019, 01:32 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.