/var
/www
/www-root
/data
/www
/vannstudio.ru
/bitrix
/modules
/main
/lib
/loader.php
{
$documentRoot = self::getDocumentRoot();
}
//optimization via direct paths
if (isset(self::$autoLoadClasses[$classLower]))
{
$pathInfo = self::$autoLoadClasses[$classLower];
if ($pathInfo["module"] != "")
{
$module = $pathInfo["module"];
$holder = (self::$modulesHolders[$module] ?? self::BITRIX_HOLDER);
$filePath = (defined('REPOSITORY_ROOT') && $holder === self::BITRIX_HOLDER)
? REPOSITORY_ROOT
: "{$documentRoot}/{$holder}/modules";
$filePath .= '/' . $module . "/" . $pathInfo["file"];
require_once($filePath);
}
else
{
require_once($documentRoot . $pathInfo["file"]);
}
return;
}
if (preg_match("#[^\\\\/a-zA-Z0-9_]#", $className))
{
return;
}
$tryFiles = [[
"real" => $className,
"lower" => $classLower,
]];
if (str_ends_with($classLower, "table"))
{
Arguments
"Failed opening required '/var/www/www-root/data/www/vannstudio.ru/bitrix/modules/sale/lib/tradingplatform/ymarket/yandexmarket.php' (include_path='.:/opt/php81/share/pear')"
/var
/www
/www-root
/data
/www
/vannstudio.ru
/bitrix
/modules
/main
/lib
/loader.php
{
$documentRoot = self::getDocumentRoot();
}
//optimization via direct paths
if (isset(self::$autoLoadClasses[$classLower]))
{
$pathInfo = self::$autoLoadClasses[$classLower];
if ($pathInfo["module"] != "")
{
$module = $pathInfo["module"];
$holder = (self::$modulesHolders[$module] ?? self::BITRIX_HOLDER);
$filePath = (defined('REPOSITORY_ROOT') && $holder === self::BITRIX_HOLDER)
? REPOSITORY_ROOT
: "{$documentRoot}/{$holder}/modules";
$filePath .= '/' . $module . "/" . $pathInfo["file"];
require_once($filePath);
}
else
{
require_once($documentRoot . $pathInfo["file"]);
}
return;
}
if (preg_match("#[^\\\\/a-zA-Z0-9_]#", $className))
{
return;
}
$tryFiles = [[
"real" => $className,
"lower" => $classLower,
]];
if (str_ends_with($classLower, "table"))
{
Arguments
"/var/www/www-root/data/www/vannstudio.ru/bitrix/modules/aspro.max/lib/functions/CAsproMaxReCaptcha.php"
/var
/www
/www-root
/data
/www
/vannstudio.ru
/bitrix
/modules
/aspro.max
/classes
/general
/CMaxEvents.php
}
$_REQUEST['q'] = '';
if($_SESSION && array_key_exists('q_'.$landingID, $_SESSION)){
$_REQUEST['q'] = $_SESSION['q_'.$landingID];
$_SESSION['q_'.$landingID] = '';
unset($_SESSION['q_'.$landingID]);
}
$context = \Bitrix\Main\Context::getCurrent();
$server = $context->getServer();
$server_array = $server->toArray();
$server_array['REQUEST_URI'] = $_SERVER['REQUEST_URI'] = str_replace('index.php', '', $_SERVER['REAL_FILE_PATH']).'?'.str_replace(urlencode(urlencode($_REQUEST['q'])), urlencode($_REQUEST['q']), $_SERVER['QUERY_STRING']);
$server->set($server_array);
$context->initialize(new \Bitrix\Main\HttpRequest($server, $_GET, $_POST, $_FILES, $_COOKIE), $context->getResponse(), $server);
$GLOBALS['APPLICATION']->SetCurPage($GLOBALS['APPLICATION']->GetCurPage(), str_replace($GLOBALS['APPLICATION']->GetCurPage(), '', $GLOBALS['APPLICATION']->GetCurPageParam('', array('q', 'ls'))));
}
}
if(!\Aspro\Functions\CAsproMaxReCaptcha::checkRecaptchaActive()){
return;
}
// remove captcha_word from request
if(isset($_REQUEST['captcha_word'])){
$_REQUEST['captcha_word'] = $_POST['captcha_word'] = '';
}
$captcha_public_key = \Aspro\Functions\CAsproMaxReCaptcha::getPublicKey();
$captcha_version = \Aspro\Functions\CAsproMaxReCaptcha::getVersion();
$assets = Asset::getInstance();
if($captcha_version == 3){
$arCaptchaProp = array(
'recaptchaColor' => '',
'recaptchaLogoShow' => '',
'recaptchaSize' => '',
'recaptchaBadge' => '',
'recaptchaLang' => LANGUAGE_ID,
);
Arguments
"Aspro\Functions\CAsproMaxReCaptcha"
/var
/www
/www-root
/data
/www
/vannstudio.ru
/bitrix
/modules
/main
/tools.php
}
else
{
$args = $arParams;
}
//TODO: Возможно заменить на EventManager::getInstance()->getLastEvent();
global $BX_MODULE_EVENT_LAST;
$BX_MODULE_EVENT_LAST = $arEvent;
if (isset($arEvent["CALLBACK"]))
{
$result = call_user_func_array($arEvent["CALLBACK"], $args);
}
else
{
//php bug: http://bugs.php.net/bug.php?id=47948
if (class_exists($arEvent["TO_CLASS"]) && is_callable([$arEvent["TO_CLASS"], $arEvent["TO_METHOD"]]))
{
$result = call_user_func_array([$arEvent["TO_CLASS"], $arEvent["TO_METHOD"]], $args);
}
else
{
$exception = new SystemException("Event handler error: could not invoke {$arEvent["TO_CLASS"]}::{$arEvent["TO_METHOD"]}. Class or method does not exist.");
$application = Application::getInstance();
$exceptionHandler = $application->getExceptionHandler();
$exceptionHandler->writeToLog($exception);
$result = null;
}
}
return $result;
}
function UnRegisterModuleDependences($FROM_MODULE_ID, $MESSAGE_ID, $TO_MODULE_ID, $TO_CLASS = "", $TO_METHOD = "", $TO_PATH = "", $TO_METHOD_ARG = [])
{
$eventManager = Main\EventManager::getInstance();
$eventManager->unRegisterEventHandler($FROM_MODULE_ID, $MESSAGE_ID, $TO_MODULE_ID, $TO_CLASS, $TO_METHOD, $TO_PATH, $TO_METHOD_ARG);
}
/var
/www
/www-root
/data
/www
/vannstudio.ru
/bitrix
/modules
/main
/include.php
{
$application->addBackgroundJob(["CAgent", "CheckAgents"], [], \Bitrix\Main\Application::JOB_PRIORITY_LOW);
}
//send email events
if (COption::GetOptionString("main", "check_events", "Y") !== "N")
{
$application->addBackgroundJob(['\Bitrix\Main\Mail\EventManager', 'checkEvents'], [], \Bitrix\Main\Application::JOB_PRIORITY_LOW-1);
}
$healerOfEarlySessionStart = new HealerEarlySessionStart();
$healerOfEarlySessionStart->process($application->getKernelSession());
$kernelSession = $application->getKernelSession();
$kernelSession->start();
$application->getSessionLocalStorageManager()->setUniqueId($kernelSession->getId());
foreach (GetModuleEvents("main", "OnPageStart", true) as $arEvent)
{
ExecuteModuleEventEx($arEvent);
}
//define global user object
$GLOBALS["USER"] = new CUser;
//session control from group policy
$arPolicy = $GLOBALS["USER"]->GetSecurityPolicy();
$currTime = time();
if (
(
//IP address changed
$kernelSession['SESS_IP']
&& $arPolicy["SESSION_IP_MASK"] <> ''
&& (
(ip2long($arPolicy["SESSION_IP_MASK"]) & ip2long($kernelSession['SESS_IP']))
!=
(ip2long($arPolicy["SESSION_IP_MASK"]) & ip2long($_SERVER['REMOTE_ADDR']))
)
)
||
Arguments
array:11 [
"SORT" => 100
"TO_MODULE_ID" => "aspro.max"
"TO_PATH" => ""
"TO_CLASS" => "CMaxEvents"
"TO_METHOD" => "OnPageStartHandler"
"TO_METHOD_ARG" => []
"VERSION" => "1"
"TO_NAME" => "CMaxEvents::OnPageStartHandler (aspro.max)"
"FROM_DB" => true
"FROM_MODULE_ID" => "main"
"MESSAGE_ID" => "OnPageStart"
]
/var
/www
/www-root
/data
/www
/vannstudio.ru
/bitrix
/modules
/main
/include
/prolog_before.php
<?php
if (!defined('START_EXEC_PROLOG_BEFORE_1'))
{
define("START_EXEC_PROLOG_BEFORE_1", microtime(true));
}
$GLOBALS["BX_STATE"] = "PB";
if(isset($_REQUEST["BX_STATE"])) unset($_REQUEST["BX_STATE"]);
if(isset($_GET["BX_STATE"])) unset($_GET["BX_STATE"]);
if(isset($_POST["BX_STATE"])) unset($_POST["BX_STATE"]);
if(isset($_COOKIE["BX_STATE"])) unset($_COOKIE["BX_STATE"]);
if(isset($_FILES["BX_STATE"])) unset($_FILES["BX_STATE"]);
if(!isset($USER)) {global $USER;}
if(!isset($APPLICATION)) {global $APPLICATION;}
if(!isset($DB)) {global $DB;}
require_once(__DIR__."/../include.php");
CMain::PrologActions();
if (!defined('START_EXEC_PROLOG_BEFORE_2'))
{
define("START_EXEC_PROLOG_BEFORE_2", microtime(true));
}
Arguments
"/var/www/www-root/data/www/vannstudio.ru/bitrix/modules/main/include.php"
/var
/www
/www-root
/data
/www
/vannstudio.ru
/bitrix
/modules
/main
/include
/prolog.php
<?php
require_once(__DIR__ . "/../bx_root.php");
if (file_exists($_SERVER["DOCUMENT_ROOT"].BX_PERSONAL_ROOT."/html_pages/.enabled"))
{
require_once(__DIR__ . "/../lib/composite/responder.php");
Bitrix\Main\Composite\Responder::respond();
}
require_once(__DIR__ . "/prolog_before.php");
require($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/include/prolog_after.php");
Arguments
"/var/www/www-root/data/www/vannstudio.ru/bitrix/modules/main/include/prolog_before.php"
/var
/www
/www-root
/data
/www
/vannstudio.ru
/bitrix
/header.php
<?require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog.php");?>
Arguments
"/var/www/www-root/data/www/vannstudio.ru/bitrix/modules/main/include/prolog.php"
/var
/www
/www-root
/data
/www
/vannstudio.ru
/catalog
/index.php
<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");
$APPLICATION->SetTitle("Каталог товаров сантехники Vannstudio.ru");
$APPLICATION->IncludeComponent(
"bitrix:catalog",
"main",
array(
"IBLOCK_TYPE" => "aspro_max_catalog",
"IBLOCK_ID" => "2",
"HIDE_NOT_AVAILABLE" => "Y",
"BASKET_URL" => "/basket/",
"ACTION_VARIABLE" => "action",
"PRODUCT_ID_VARIABLE" => "id",
"SECTION_ID_VARIABLE" => "SECTION_ID",
"PRODUCT_QUANTITY_VARIABLE" => "quantity",
"PRODUCT_PROPS_VARIABLE" => "prop",
"SEF_MODE" => "Y",
"SEF_FOLDER" => "/catalog/",
"AJAX_MODE" => "N",
"AJAX_OPTION_JUMP" => "N",
"AJAX_OPTION_STYLE" => "Y",
"AJAX_OPTION_HISTORY" => "Y",
"CACHE_TYPE" => "A",
"CACHE_TIME" => "3600000",
"CACHE_FILTER" => "Y",
"CACHE_GROUPS" => "Y",
"SET_TITLE" => "Y",
"SET_STATUS_404" => "Y",
"USE_ELEMENT_COUNTER" => "Y",
"USE_FILTER" => "Y",
"FILTER_NAME" => "MAX_SMART_FILTER",
"FILTER_FIELD_CODE" => array(
0 => "",
1 => "",
),
"FILTER_PROPERTY_CODE" => array(
0 => "",
1 => "WF_SALE",
2 => "WF_NOTE",
3 => "attr_deliveryprice_tk_other",
4 => "attr_manufacturer_warranty",
Arguments
"/var/www/www-root/data/www/vannstudio.ru/bitrix/header.php"
/var
/www
/www-root
/data
/www
/vannstudio.ru
/bitrix
/modules
/main
/include
/urlrewrite.php
if ((str_starts_with($urlTmp, "upload/") || (str_starts_with($urlTmp, "bitrix/") && !str_starts_with($urlTmp, "bitrix/services/") && !str_starts_with($urlTmp, "bitrix/groupdavphp"))))
continue;
$ext = strtolower(GetFileExtension($url));
if ($ext != "php")
continue;
// D7 response is not available here
if(stristr(php_sapi_name(), "cgi") !== false && (!defined("BX_HTTP_STATUS") || BX_HTTP_STATUS == false))
{
header("Status: 200 OK");
}
else
{
header($_SERVER["SERVER_PROTOCOL"]." 200 OK");
}
$_SERVER["REAL_FILE_PATH"] = $url;
include_once($io->GetPhysicalName($_SERVER['DOCUMENT_ROOT'].$url));
die();
}
}
}
//admin section 404
if(str_starts_with($requestUri, "/bitrix/admin/"))
{
$_SERVER["REAL_FILE_PATH"] = "/bitrix/admin/404.php";
include($_SERVER["DOCUMENT_ROOT"]."/bitrix/admin/404.php");
die();
}
define("BX_CHECK_SHORT_URI", true);
Arguments
"/var/www/www-root/data/www/vannstudio.ru/catalog/index.php"
/var
/www
/www-root
/data
/www
/vannstudio.ru
/bitrix
/urlrewrite.php
<?
include_once($_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/main/include/urlrewrite.php');
if(file_exists($_SERVER['DOCUMENT_ROOT'].'/404.php'))
include_once($_SERVER['DOCUMENT_ROOT'].'/404.php');
?>
Arguments
"/var/www/www-root/data/www/vannstudio.ru/bitrix/modules/main/include/urlrewrite.php"