B
B
bitrix0ID2019-10-14 13:18:05
1C-Bitrix
bitrix0ID, 2019-10-14 13:18:05

Why does SITE_ID get the wrong value?

We implement multilingualism using subdomains:


site.ru
en.site.ru

A second site for the English version has been created in the administrative panel. Setting "domain name" for the first site - "site.ru", for the second - "en.site.ru". For some reason, on the second site, the "SITE_ID" constant is defined as "s1" and not "s2". What could be the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2019-10-14
@bitrix0ID

change the sort

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question