Configurator and includes section, if the file doesnt exists

5 years ago

mcmatak
Member | 499
+
0
-

in my config.neon i have inlcudes to the rest of neon configurations, like config.local.neon it is ussually file which is not in git, because it keeps the database credentials

so it is very usuall that new programer doesnt have this file, and the error is this

Nette\InvalidStateException

Found sections 'common', 'production', 'development', 'console' in configuration, but corresponding extensions are missing.

and it takes hours to find what is it going on