We are using same code base for multiple sites. And there are will be config files which are both site specific and common settings. We want to merge the common settings with site specific settings.
Our config folder structure is -
app/config -
- ssc/
- brg/
- app.php
- common.php
and so on. ssc
and brg
will hold site specific configs for ssc
& brg
sites respectively.
And for this we have to do -
config('common');
config('brg.settings');
But in our code base we have not used the sub-folder mechanism. When we will be implementing the sub-folder system then we have to make changes to the code base to implement the site specific folder which I want to avoid.
Is there any way to implement the sub-folder system and dont have to changes the code base?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire