uawdijnntqw1x1x1
IP : 216.73.217.167
Hostname : xhost1.intravision.ru
Kernel : Linux xhost1.intravision.ru 3.16.0-7-amd64 #1 SMP Debian 3.16.59-1 (2018-10-03) x86_64
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,
OS : Linux
PATH:
/
var
/
www
/
tiskom
/
data
/
www
/
tiskom.xhost.intravision.ru
/
bitrix
/
blocks
/
bitrix
/
11.3.tariffs24
/
class.php
/
/
<?php if (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true) { die(); } use \Bitrix\Landing\Manager; use \Bitrix\Main\Config\Option; class Tariff24Block extends \Bitrix\Landing\LandingBlock { /** * Method, which will be called once time. * @param array Params array. * @return void */ public function init(array $params = []): void { $zone = Bitrix\Landing\Manager::getZone(); $currencyCode = 'RUR'; if ($zone === 'by') { $currencyCode = 'BYR'; } if ($zone === 'kz') { $currencyCode = 'KZT'; } if ($zone === 'ua') { $currencyCode = 'UAH'; } if (Manager::isB24()) { $partnerId = (int)Option::get('bitrix24', 'partner_id', 0); } else { $partnerId = (int)COption::GetOptionString("main", "~PARAM_PARTNER_ID"); } $options = [ 'productTypeCode' => 'CLOUD', 'locationAreaId' => $zone, 'languageId' => LANGUAGE_ID, 'currencyCode' => $currencyCode, 'catalogForNewCustomer' => false, 'partnerId' => $partnerId, ]; $this->params['OPTION'] = $options; } }
/var/www/tiskom/data/www/tiskom.xhost.intravision.ru/bitrix/blocks/bitrix/11.3.tariffs24/class.php