Server IP : 85.193.89.191 / Your IP : 18.117.184.115 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/aspro/catalog.delivery.max/ |
Upload File : |
<? define('STOP_STATISTICS', true); define('NO_KEEP_STATISTIC', 'Y'); define('NO_AGENT_STATISTIC','Y'); define('DisableEventsCheck', true); define('BX_SECURITY_SHOW_MESSAGE', true); define('NOT_CHECK_PERMISSIONS', true); $siteId = isset($_REQUEST['SITE_ID']) && is_string($_REQUEST['SITE_ID']) ? trim($_REQUEST['SITE_ID']) : ''; $siteId = substr(preg_replace('/[^a-z0-9_]/i', '', $siteId), 0, 2); if(!empty($siteId) && is_string($siteId)){ define('SITE_ID', $siteId); } $languageId = isset($_REQUEST['LANGUAGE_ID']) && is_string($_REQUEST['LANGUAGE_ID']) ? trim($_REQUEST['LANGUAGE_ID']) : ''; $languageId = substr(preg_replace('/[^a-z_]/i', '', $languageId), 0, 2); if(!empty($languageId) && is_string($languageId)){ define('LANGUAGE_ID', $languageId); } $template = isset($_REQUEST['TEMPLATE']) && is_string($_REQUEST['TEMPLATE']) ? trim($_REQUEST['TEMPLATE']) : ''; require_once($_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/main/include/prolog_before.php'); $request = \Bitrix\Main\Application::getInstance()->getContext()->getRequest(); $request->addFilter(new \Bitrix\Main\Web\PostDecodeFilter); \Bitrix\Main\Localization\Loc::loadMessages(dirname(__FILE__).'/class.php'); $signer = new \Bitrix\Main\Security\Sign\Signer; try{ $signedParamsString = $request->get('SIGNED_PARAMS') ?: ''; $params = $signer->unsign($signedParamsString, 'catalog.delivery.max'); $params = unserialize(base64_decode($params)); } catch(\Bitrix\Main\Security\Sign\BadSignatureException $e){ die(); } $GLOBALS['APPLICATION']->IncludeComponent( 'aspro:catalog.delivery.max', $template, $params ); ?>