A
A
Alexey Eremin2017-07-10 17:56:34
Yii
Alexey Eremin, 2017-07-10 17:56:34

Yii2 - is it possible to have different templates for different domains?

Good day. So the question arose, is it possible to implement a system in Yii2 that will allow you to determine from which domain a person came in, and provide him with information about a specific controller and its templates?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
Boris Yakushev, 2017-07-10
@za4me

Yes.

A
Alexey Eremin, 2017-07-10
@Alexey74

Can you please provide a code example or something like that?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question