A
A
anriko2020-05-21 16:42:47
1C-Bitrix
anriko, 2020-05-21 16:42:47

How to copy the section of which I changed on the main domain in Bitrix to all subdomains?

How to copy the section of which I changed in Bitrix to all subdomains (in the section folder I changed the markup in index.php) on the main domain?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Kontrael, 2020-05-21
@anriko

It all depends on how multisite is configured.
If these are physically different directories on the server, then manually copy the change to all similar index.php files.
If this is one file, and the code is displayed depending on the SITE_ID, then you need to look at the code itself and make changes so that it is displayed under all conditions.

A
anriko, 2020-07-05
@anriko

did so find ./*/public_html/dorozhnaja-razmetka -name "index.php" | xargs -n 1 cp ~/optimaservis.ru/public_html/dorozhnaja-razmetka/index.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question