G
G
Good Samaritan2015-03-05 12:21:02
Yii
Good Samaritan, 2015-03-05 12:21:02

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

3 answer(s)
S
sanex3339, 2015-03-05
@sanex3339

php /path/to/yii-application/init run the command

V
Vit, 2015-03-05
@fornit1917

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.

D
Dmitry Bay, 2015-03-05
@kawabanga

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 question

Ask a Question

731 491 924 answers to any question