Skip to content

Instantly share code, notes, and snippets.

View xTCry's full-sized avatar
🦉
Power On

Vladislav Khr xTCry

🦉
Power On
View GitHub Profile
<?
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php");
use Bitrix\Main\Mail\Event,
Bitrix\Main\Application,
\Bitrix\Main\Loader;
Loader::includeModule("iblock");
$request = Application::getInstance()->getContext()->getRequest();