Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/bitrix/ext_www/rospirotorg.ru/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();