Server IP : 85.193.89.191 / Your IP : 3.135.208.201 Web Server : Apache System : Linux 956367-cx40159.tmweb.ru 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64 User : bitrix ( 600) PHP Version : 8.1.27 Disable Function : NONE MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/bitrix/www/bitrix/components/bitrix/bizproc.workflow.start/ |
Upload File : |
<? define("STOP_STATISTICS", true); $SITE_ID = ''; if (isset($_REQUEST["site_id"]) && is_string($_REQUEST["site_id"])) $SITE_ID = mb_substr(preg_replace("/[^a-z0-9_]/i", "", $_REQUEST["site_id"]), 0, 2); if ($SITE_ID != '') define("SITE_ID", $SITE_ID); require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php"); $request = \Bitrix\Main\Application::getInstance()->getContext()->getRequest(); $APPLICATION->ShowAjaxHead(); $APPLICATION->IncludeComponent("bitrix:bizproc.workflow.start", 'modern', array( "MODULE_ID" => $request->getPost('module_id'), "ENTITY" => $request->getPost('entity'), "DOCUMENT_TYPE" => $request->getPost('document_type'), "DOCUMENT_ID" => $request->getPost('document_id'), "TEMPLATE_ID" => $request->getPost('template_id'), "AUTO_EXECUTE_TYPE" => $request->getPost('auto_execute_type') ) ); require_once($_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/main/include/epilog_after.php'); die();