modules.zendframework.com icon indicating copy to clipboard operation
modules.zendframework.com copied to clipboard

I hate config autoload directory

Open gianarb opened this issue 10 years ago • 2 comments

Hello guys.. This night I dreamed this directory.

screen shot 2015-10-19 at 21 47 55

In your opinion this is a good practice? Can we try to replace decrease the number of files?

gianarb avatar Oct 19 '15 19:10 gianarb

@gianarb

Here's how I would do it:

  • one global.php that contains all of the configuration
  • if you need to override configuration, create a local.php, override it

this many files is kind of ugly.

I understand, though, that development.local.php.dist is used by ZF\DevelopmentMode, though, so this one needs to stay, apparently.

localheinz avatar Oct 19 '15 20:10 localheinz

:+1: I agree with you

gianarb avatar Oct 19 '15 20:10 gianarb