T
T
tincap2018-07-03 12:03:50
Yii
tincap, 2018-07-03 12:03:50

Is it possible to stir up so that the project files are common to all subdomains? Did each subdomain have its own config folder?

The task is this.
There is a service written in Yii2. There are many countries that we want to support. One country - one subdomain. Each subdomain has its own language and its own database.
Is it possible to stir up so that the project files are common to all subdomains, and each subdomain has its own config folder?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
ColdSpirit, 2018-07-03
@ColdSpirit

Yes.

M
Maxim Timofeev, 2018-07-03
@webinar


Is it possible to stir up so that the project files are common to all subdomains? Did each subdomain have its own config folder?
Of course, there is an advanced template for this:
https://github.com/yiisoft/yii2-app-advanced
Each subdomain has its own entry point, the app is built there, with its own config.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question