D
D
Dmitry2017-05-19 08:11:24
PHP
Dmitry, 2017-05-19 08:11:24

How to cancel html output in Bitrix?

Hello!
I make a separate script, I call:

require("/bitrix/modules/main/include/prolog_before.php");
require("/bitrix/modules/main/include/prolog_after.php");

But for some reason, in addition to the data, the html template is also displayed.
How can I disable html output?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya, 2017-05-19
@muldy

Isn't "prolog_after" just doing the output?
Maybe you mean:

require("/bitrix/modules/main/include/prolog_before.php");

// code ...

require("/bitrix/modules/main/include/epilog_after.php");

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question