Closed jmartsch closed 3 years ago
Do you have proper intellisense in your IDE? I think this already helps a lot :)
All of these are included and comprehensively explained in wire/config.php. I'm not entirely sure if I got this right, but if you're suggesting that we should have a sample config file in site directory (in addition to the real config file), I kind of fail to see the benefit in that — why not just check wire/config.php?
The issues I see with a duplicate config sample file would be that a) there's more chance of comments being out of sync between wire/config.php and this new sample file (leading to further confusion) and b) it's not obvious what should be included in the sample file in the first place.
That latter part is problematic since eventually it might mean that the sample file is (at least close to a) 1:1 copy of the wire/config.php file, in which case it no longer makes any sense :)
I close this for now, until I have time to think about a good solution. Thanks for your opinions.
Me and many other people are often searching for options that can be set in the config file. But they are hidden across blog posts or deep in the forum.
I want to have these options added good commented like the .htaccess page inside of the sample config file.
I can even make a PR, if you are planning to merge this idea.
Here are a few settings, that should appear there.