Created
April 2, 2021 14:00
-
-
Save Feiron/5db2ea91068430fe08ba8aaa3a74f162 to your computer and use it in GitHub Desktop.
[Bitrix HXR] #bitrix #ajax
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
define('STOP_STATISTICS', true); | |
define('BX_SECURITY_SHOW_MESSAGE', true); | |
define("NO_KEEP_STATISTIC", true); | |
define("NO_AGENT_STATISTIC", true); | |
define("NOT_CHECK_PERMISSIONS", true); | |
require_once($_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/main/include/prolog_before.php'); | |
use Bitrix\Main\Application; | |
use Bitrix\Main\Localization\Loc; | |
$obRequest = Application::getInstance()->getContext()->getRequest(); | |
$obResponse = new \Bitrix\Main\HttpResponse(); | |
$obResponse->addHeader("Content-Type", "application/json"); | |
$obResponse->flush( | |
$CrmReportManagersComponent->getResponseData(ob_get_clean()) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment