Advanced Template

Hi,

after generating advanced project template and initializing, there is environment dir. Can someone explain what for is used? Thanks!

It is the source of settings per environment. When you’re executing init it copies files from environment dir to application dir.

That is useful if you have different settings for local development and for production.

So is basically only for storing Yii config files and practically not used by project developer.

No, it’s not used during runtime.