| Current Path : /var/www/homesaver/www/bitrix/components/bitrix/sender.template.edit/ |
| Current File : /var/www/homesaver/www/bitrix/components/bitrix/sender.template.edit/ajax.php |
<?php
define('STOP_STATISTICS', true);
define('BX_SECURITY_SHOW_MESSAGE', true);
require_once($_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/main/include/prolog_before.php');
use Bitrix\Sender\Internals\CommonAjax;
use Bitrix\Sender\Internals\QueryController as Controller;
if (!Bitrix\Main\Loader::includeModule('sender'))
{
return;
}
$actions = array();
$actions[] = CommonAjax\ActionGetTemplate::get();
$checker = CommonAjax\Checker::getModifyTemplatePermissionChecker();
Controller\Listener::create()->addChecker($checker)->setActions($actions)->run();