directus/directus

Abstracted Config Files (JSON)

benhaynes asked for this feature about 1 year ago — 1 comment

benhaynes commented about 1 year ago Admin

@WellingGuzman

What do you think about abstracting the configuration files. Currently, they are in the API directory as PHP files – but couldn't we make them JSON files in the root so they are not tied to the server-side language? Does that seem like a good idea or overkill?

Also, would it make sense to have a decoupled directory structure like this:

/api-php/core/...
/config.json
/configuration.json

Instead of this (currently):

/api/core/...
/api/config.php
/api/configuration.php

Join the discussion!

Sign-in with GitHub to comment