Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
push.php
1<?php
2require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php");
3
4Bitrix\Main\Loader::includeModule('sale');
5
6$request = \Bitrix\Main\Context::getCurrent()->getRequest();
7
8\Bitrix\Sale\Rest\Synchronization\LoggerDiag::addMessage('_POST',var_export($request->getPostList()->toArray(), true));
9
10if($request->getPost('event') !== null)
11{
12 Bitrix\Main\Loader::includeModule('sale');
13
14 \Bitrix\Sale\Rest\Synchronization\LoggerDiag::addMessage('_POST',var_export($request->getPostList(), true));
15
17 $b24->incomingReplication();
18}
19
20require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/epilog_after.php");
21?>