Answer the question
In order to leave comments, you need to log in
There is no index.php in the advanced yii2 template in the frontend/web folder?
Or write it down by hand? I downloaded the arive not through composer, maybe that's why?
Answer the question
In order to leave comments, you need to log in
You need to run the init script with the desired environment.
In the advanced template, the configs and index.php files depend on the environment and are located in the environments folder. Using the init script, they are copied from there to the application.
yiiframework.ru/forum/viewtopic.php?f=19&t=22619
recently I had a question myself.
and yes, you need to run init
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question