vincent-peugnet / wcms

⧉ light-weight, experimental CMS where you use link to think and publish ideas by creating poly-form site
http://w.club1.fr
GNU Affero General Public License v3.0
18 stars 3 forks source link

Separate config from databases settings #79

Open vincent-peugnet opened 4 years ago

vincent-peugnet commented 4 years ago

For a long time now, the config file was not really what a config file is supposed to be. It's time to split between webmaster administration settings and pages / users / databases related settings.

The first part is okay as it is now in a config file at root of the projet.

The second part, as it is database related, and in order to allow the future database into database function, I'd like to allow each database to have it's own setting file.

The best solution would be to locate this file into each corresponding folder, that way, you don't have to worry when moving databases folders.

vincent-peugnet commented 4 years ago

The chosen option is :

n-peugnet commented 4 years ago

Here is the doc about jsonc.