K
K
koposov_v2020-11-11 01:28:32
1C-Bitrix
koposov_v, 2020-11-11 01:28:32

I don't understand what does BX_ROOT mean in bitrix?

Coders use this line, I don’t understand what it is, the documentation about constants doesn’t say anything specifically about this one, where it came from it’s not clear ...
Some kind of root of something
(I just started to study)
here is an example

if(file_exists($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/.config.php"))

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Yuriev, 2020-11-11
@koposov_v

the name of the directory where the Bitrix core is located, /bitrix by default

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question