%PDF- %PDF-
Server IP : 37.220.80.31 / Your IP : 18.218.132.6 Web Server : Apache/2.4.52 (Ubuntu) System : Linux 3051455-guretool.twc1.net 5.15.0-107-generic #117-Ubuntu SMP Fri Apr 26 12:26:49 UTC 2024 x86_64 User : www-root ( 1010) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/www-root/data/www/dev.artlot24.ru/bitrix/components/bitrix/sale.order.payment.receive/ |
Upload File : |
<? if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die(); $this->setFramemode(false); if (!CModule::IncludeModule("sale")) { ShowError(GetMessage("SALE_MODULE_NOT_INSTALL")); return; } if (!array_key_exists('PAY_SYSTEM_ID_NEW', $arParams)) { $newPsId = CSalePaySystem::getNewIdsFromOld($arParams["PAY_SYSTEM_ID"], $arParams["PERSON_TYPE_ID"]); $newPsId = current($newPsId); } else { $newPsId = $arParams["PAY_SYSTEM_ID_NEW"]; } $dbPaySysAction = CSalePaySystemAction::GetList( array(), array('ID' => $newPsId), false, false, array("ACTION_FILE", "PARAMS", "ENCODING") ); if ($arPaySysAction = $dbPaySysAction->Fetch()) { if ($arPaySysAction["ACTION_FILE"] <> '') { $GLOBALS["SALE_CORRESPONDENCE"] = CSalePaySystemAction::UnSerializeParams($arPaySysAction["PARAMS"]); $pathToAction = $_SERVER["DOCUMENT_ROOT"].$arPaySysAction["ACTION_FILE"]; if(!isset($GLOBALS["SALE_INPUT_PARAMS"])) $GLOBALS["SALE_INPUT_PARAMS"] = array(); $pathToAction = str_replace("\\", "/", $pathToAction); while (mb_substr($pathToAction, mb_strlen($pathToAction) - 1, 1) == "/") $pathToAction = mb_substr($pathToAction, 0, mb_strlen($pathToAction) - 1); if (file_exists($pathToAction)) { if (is_dir($pathToAction)) { if (file_exists($pathToAction."/result_rec.php")) include($pathToAction."/result_rec.php"); } } if($arPaySysAction["ENCODING"] <> '') { define("BX_SALE_ENCODING", $arPaySysAction["ENCODING"]); AddEventHandler("main", "OnEndBufferContent", "ChangeEncoding"); function ChangeEncoding($content) { global $APPLICATION; header("Content-Type: text/html; charset=".BX_SALE_ENCODING); $content = $APPLICATION->ConvertCharset($content, SITE_CHARSET, BX_SALE_ENCODING); $content = str_replace("charset=".SITE_CHARSET, "charset=".BX_SALE_ENCODING, $content); } } } }