/var/www/leselshop.ru/bitrix/modules/main/lib/db/mysqlcommonconnection.php
                  
                                $res = $this->query("SHOW VARIABLES LIKE 'max_allowed_packet'")->fetch();
            if ($res['Variable_name'] == 'max_allowed_packet')
            {
                $mtu = intval($res['Value']);
            }
        }
 
        return $mtu;
    }
 
    /**
     * @inheritdoc
     */
    public function createQueryException($code = 0, $databaseMessage = '', $query = '')
    {
        if ($code == 1062)
        {
            return new DuplicateEntryException('Mysql query error', $databaseMessage, $query);
        }
        return new SqlQueryException('Mysql query error', $databaseMessage, $query);
    }
}
 
                  
                          
              Arguments
          
          
              "Mysql query error: (3) Error writing file '/tmp/MYfd=317' (OS errno 28 - No space left on device)"
           
        
                
       
            
        
                                /var/www/leselshop.ru/bitrix/modules/main/classes/general/database.php
                  
                            }
 
        if (!$result)
        {
            $this->db_Error = $this->GetError();
            $this->db_ErrorSQL = $strSql;
            if (!$bIgnoreErrors)
            {
                if ($this->DebugToFile)
                {
                    $this->startSqlTracker()->writeFileLog("ERROR: " . $this->db_Error, 0, "CONN: " . $this->getThreadId());
                }
 
                if (defined('ERROR_EMAIL') && ERROR_EMAIL != '')
                {
                    $error_position = preg_replace("#<br[^>]*>#i", "\n", $error_position);
                    SendError($error_position . "\nQuery Error:\n" . $strSql . " \n [" . $this->db_Error . "]\n---------------\n\n");
                }
 
                throw $this->connection->createQueryException($this->GetErrorCode(), $this->db_Error, $strSql);
            }
            return false;
        }
 
        $res = new CDBResult($result);
        $res->DB = $this;
        if ($DB->ShowSqlStat)
        {
            $res->SqlTraceIndex = count($DB->arQueryDebug) - 1;
        }
        return $res;
    }
 
    public function QueryBind($strSql, $arBinds, $bIgnoreErrors = false)
    {
        return $this->Query($strSql, $bIgnoreErrors);
    }
 
    /**
     * @deprecated Will be removed.
                  
                
                
       
            
        
                                /var/www/leselshop.ru/bitrix/modules/iblock/classes/mysql/iblocksection.php
                  
                                    if($iblockFilterExist)
                {
                    $res->SetUserFields($USER_FIELD_MANAGER->GetUserFields("IBLOCK_".$arFilter["IBLOCK_ID"]."_SECTION"));
                }
            }
            else
            {
                $res_cnt = $DB->Query("SELECT COUNT(DISTINCT BS.ID) as C ".$strSql);
                $res_cnt = $res_cnt->Fetch();
                $res = new CDBResult();
                if($iblockFilterExist)
                {
                    $res->SetUserFields($USER_FIELD_MANAGER->GetUserFields("IBLOCK_".$arFilter["IBLOCK_ID"]."_SECTION"));
                }
                $res->NavQuery("SELECT DISTINCT ".$strSelect.$strSql.$strGroupBy.$strSqlOrder, $res_cnt["C"], $arNavStartParams);
            }
        }
        else
        {
            $res = $DB->Query("SELECT DISTINCT ".$strSelect.$strSql.$strGroupBy.$strSqlOrder);
            if($iblockFilterExist)
            {
                $res->SetUserFields($USER_FIELD_MANAGER->GetUserFields("IBLOCK_".$arFilter["IBLOCK_ID"]."_SECTION"));
            }
        }
 
        $res = new CIBlockResult($res);
        if($iblockFilterExist)
        {
            $res->SetIBlockTag($arFilter["IBLOCK_ID"]);
        }
 
        return $res;
    }
    ///////////////////////////////////////////////////////////////////
    // Update list of sections w/o any events
    ///////////////////////////////////////////////////////////////////
    protected function UpdateList($arFields, $arFilter = array())
    {
        global $DB, $USER;
                  
                
                
       
            
        
                                /var/www/leselshop.ru/local/templates/main/components/bitrix/menu/top_mobile_catalog/result_modifier.php
                  
                    <?
  if (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED!==true) die();
  if(CModule::IncludeModule("iblock"))
  {
    $IBLOCK_ID = 110;
 
    // Get Iblock sections to show it in menus
    $resSections = CIBlockSection::GetList(
      array('SORT' => 'ASC'),
      array('ACTIVE' => 'Y', 'IBLOCK_ID' => $IBLOCK_ID, 'ELEMENT_SUBSECTIONS' => 'Y', 'CNT_ALL' => 'N', 'CNT_ACTIVE' => 'Y'),
      true,
      array('ID', 'NAME', 'CODE', 'PICTURE'),
      false
    );
 
    $sections = array();
    while($sectionResult = $resSections->GetNext())
    {
      $sections[$sectionResult['CODE']] = $sectionResult;
    }
 
    // Get cards to discount sales
    $res = CIBlockElement::GetList(array(), array('IBLOCK_ID' => $IBLOCK_ID, 'ACTIVE_DATE' => 'Y', 'ACTIVE' => 'Y', 'PROPERTY_RASPRODAZHA_VALUE' => 'Да'), false, false, array('ID', 'NAME') );
    while($ob = $res->GetNextElement())
    {
      $cardsWithSaleProp[] = $ob->GetFields();
    }
 
    // Get Active Discounts
    $dbProductDiscounts = CCatalogDiscount::GetList(
      array("SORT" => "ASC"),
      array(
            "ACTIVE" => "Y",
            "!>ACTIVE_FROM" => $DB->FormatDate(date("Y-m-d H:i:s"),  "YYYY-MM-DD HH:MI:SS", CSite::GetDateFormat("FULL")),
            "!<ACTIVE_TO" => $DB->FormatDate(date("Y-m-d H:i:s"),  "YYYY-MM-DD HH:MI:SS",  CSite::GetDateFormat("FULL")),
      ),
      false,
      false,
      array( "ID" )
    );
                  
                
                
       
            
        
                                /var/www/leselshop.ru/bitrix/modules/main/classes/general/component_template.php
                  
                        }
 
    /**
     * @param array &$arResult
     * @param array &$arParams
     *
     * @return void
     * @internal
     */
    public function __IncludeMutatorFile(/** @noinspection PhpUnusedParameterInspection */
        &$arResult, &$arParams)
    {
        /** @noinspection PhpUnusedLocalVariableInspection */
        global $APPLICATION, $USER, $DB;
 
        if($this->__folder <> '')
        {
            if (file_exists($_SERVER["DOCUMENT_ROOT"].$this->__folder."/result_modifier.php"))
            {
                include($_SERVER["DOCUMENT_ROOT"].$this->__folder."/result_modifier.php");
            }
        }
    }
 
    /**
     * @return void
     * @internal
     */
    public function __IncludeCSSFile()
    {
        /** @global CMain $APPLICATION */
        global $APPLICATION;
 
        if ($this->__folder <> '')
        {
            if (
                $this->__hasCSS
                || file_exists($_SERVER["DOCUMENT_ROOT"].$this->__folder."/style.css")
            )
            {
                  
                          
              Arguments
          
          
              "/var/www/leselshop.ru/local/templates/main/components/bitrix/menu/top_mobile_catalog/result_modifier.php"
           
        
                
       
            
        
                                /var/www/leselshop.ru/bitrix/modules/main/classes/general/component_template.php
                  
                     
        if (!$this->__bInited)
            return false;
 
        $arLangMessages = null;
        $externalEngine = ($arBXAvailableTemplateEngines[$this->__engineID]["function"] <> '' && function_exists($arBXAvailableTemplateEngines[$this->__engineID]["function"]));
 
        $arParams = $this->__component->arParams;
 
        if($this->__folder <> '')
        {
            if ($externalEngine)
            {
                $arLangMessages = $this->IncludeLangFile("", false, true);
            }
            else
            {
                $this->IncludeLangFile();
            }
            $this->__IncludeMutatorFile($arResult, $arParams);
            if (!isset($this->__hasCSS) || $this->__hasCSS)
                $this->__IncludeCSSFile();
            if (!isset($this->__hasJS) || $this->__hasJS)
                $this->__IncludeJSFile();
        }
 
        $parentTemplateFolder = "";
        $parentComponent = $this->__component->GetParent();
        if ($parentComponent)
        {
            $parentTemplate = $parentComponent->GetTemplate();
            if ($parentTemplate)
                $parentTemplateFolder = $parentTemplate->GetFolder();
        }
 
        if ($externalEngine)
        {
            $result = call_user_func(
                $arBXAvailableTemplateEngines[$this->__engineID]["function"],
                $this->__file,
                  
                
                
       
            
        
                                /var/www/leselshop.ru/bitrix/modules/main/classes/general/component.php
                  
                            $this->__template->setLanguageId($this->getLanguageId());
        if ($this->__template->Init($this, $siteTemplate, $customTemplatePath))
            return true;
        else
            return false;
    }
    /**
     * Function executes initialized template of the component.
     *
     * <p>Note: component must be inited by initComponent method.</p>
     * @return void
     *
     */
    final public function showComponentTemplate()
    {
        if (!$this->__bInited)
            return null;
 
        if ($this->__template)
            $this->__template->includeTemplate($this->arResult);
 
        if(is_array($this->arResultCacheKeys))
        {
            $arNewResult = array();
            foreach($this->arResultCacheKeys as $key)
                if(array_key_exists($key, $this->arResult))
                    $arNewResult[$key] = $this->arResult[$key];
            $this->arResult = $arNewResult;
        }
 
        if(!empty($this->__editButtons))
        {
            foreach($this->__editButtons as $button)
            {
                if($button[0] == 'AddEditAction')
                    $this->addEditAction($button[1], $button[2], $button[3], $button[4]);
                else
                    $this->addDeleteAction($button[1], $button[2], $button[3], $button[4]);
            }
        }
                  
                
                
       
            
        
                                /var/www/leselshop.ru/bitrix/modules/main/classes/general/component.php
                  
                     
        return $result;
    }
    /**
     * Function executes the template.
     *
     * <p>Note: component must be inited by initComponent method.</p>
     * @param string $templatePage
     * @param string $customTemplatePath
     * @return void
     *
     */
    final public function includeComponentTemplate($templatePage = "", $customTemplatePath = "")
    {
        if (!$this->__bInited)
            return null;
 
        if ($this->initComponentTemplate($templatePage, $this->getSiteTemplateId(), $customTemplatePath))
        {
            $this->showComponentTemplate();
            if($this->__component_epilog)
                $this->includeComponentEpilog($this->__component_epilog);
        }
        else
        {
            $this->abortResultCache();
            $this->__showError(str_replace(
                array("#PAGE#", "#NAME#"),
                array($templatePage, $this->getTemplateName()),
                "Cannot find '#NAME#' template with page '#PAGE#'"
            ));
        }
        $this->__template->__component = null;
    }
    /**
     * Function initializes the template of the component. Returns true on success.
     *
     * <p>Instansiates the template object and calls it's init function.</p>
     * <p>Note: component must be inited by initComponent method.</p>
     * @param string $templatePage
                  
                
                
       
            
        
                                /var/www/leselshop.ru/bitrix/components/bitrix/menu/component.php
                  
                        !empty($arParams["RETURN"])
    && $arParams["RETURN"] == "Y"
)
{
    return $arResult;
}
 
if ($arParams["DELAY"] == "Y")
{
    $APPLICATION->AddBufferContent(array($this, "GetMenuString"), $arParams["ROOT_MENU_TYPE"]);
 
    if ($this->InitComponentTemplate())
    {
        $APPLICATION->AddHeadScript($this->__template->__folder."/script.js");
        $APPLICATION->SetAdditionalCSS($this->__template->__folder."/style.css");
    }
}
else
{
    $this->IncludeComponentTemplate();
}
 
                  
                
                
       
            
        
                                /var/www/leselshop.ru/bitrix/modules/main/classes/general/component.php
                  
                            $arResult = &$this->arResult;
 
        $componentPath = $this->__path;
        $componentName = $this->__name;
        $componentTemplate = $this->getTemplateName();
 
        if ($this->__parent)
        {
            $parentComponentName = $this->__parent->__name;
            $parentComponentPath = $this->__parent->__path;
            $parentComponentTemplate = $this->__parent->getTemplateName();
        }
        else
        {
            $parentComponentName = "";
            $parentComponentPath = "";
            $parentComponentTemplate = "";
        }
 
        return include($_SERVER["DOCUMENT_ROOT"].$this->__path."/component.php");
    }
    /**
     * Function executes the component. Returns the result of it's execution.
     *
     * <p>Note: component must be inited by initComponent method.</p>
     * @param string $componentTemplate
     * @param array $arParams
     * @param CBitrixComponent|null $parentComponent
     * @return mixed
     *
     */
    final public function includeComponent($componentTemplate, $arParams, $parentComponent, $returnResult = false)
    {
        if (!$this->__bInited)
            return null;
 
        if ($componentTemplate !== false)
            $this->setTemplateName($componentTemplate);
 
        if ($parentComponent instanceof cbitrixcomponent)
                  
                          
              Arguments
          
          
              "/var/www/leselshop.ru/bitrix/components/bitrix/menu/component.php"
           
        
                
       
            
        
                                /var/www/leselshop.ru/bitrix/modules/main/classes/general/component.php
                  
                        /**
     * Event called from includeComponent before component execution.
     *
     * <p>Includes component.php from within lang directory of the component.</p>
     * @return void
     *
     */
    public function onIncludeComponentLang()
    {
        $this->includeComponentLang();
    }
    /**
     * Function calls __includeComponent in order to execute the component.
     *
     * @return mixed
     *
     */
    public function executeComponent()
    {
        return $this->__includeComponent();
    }
    /**
     * Constructor with ability to copy the component.
     *
     * @param CBitrixComponent $component
     */
    public function __construct($component = null)
    {
        if(is_object($component) && ($component instanceof cbitrixcomponent))
        {
            $this->__name = $component->__name;
            $this->__relativePath = $component->__relativePath;
            $this->__path = $component->__path;
            $this->__templateName = $component->__templateName;
            $this->__templatePage = $component->__templatePage;
            $this->__template = $component->__template;
            $this->__component_epilog = $component->__component_epilog;
            $this->arParams = $component->arParams;
            $this->arResult = $component->arResult;
            $this->arResultCacheKeys = $component->arResultCacheKeys;
                  
                
                
       
            
        
                                /var/www/leselshop.ru/bitrix/modules/main/classes/general/component.php
                  
                                $keysToExport = $component->listKeysSignedParameters();
            if($keysToExport)
            {
                $component->storeSignedParameters(array_intersect_key($arParams, array_combine($keysToExport, $keysToExport)));
            }
 
            $component->arParams = $component->onPrepareComponentParams($arParams);
            $component->__prepareComponentParams($component->arParams);
 
            $componentFrame = new \Bitrix\Main\Composite\Internals\AutomaticArea($component);
            $componentFrame->start();
 
            if($returnResult)
            {
                $component->executeComponent();
                $result = $component->arResult;
            }
            else
            {
                $result = $component->executeComponent();
            }
 
            $this->__arIncludeAreaIcons = $component->__arIncludeAreaIcons;
            $frameMode = $component->getFrameMode();
 
            $componentFrame->end();
        }
        else
        {
            $this->includeComponentLang();
            $this->__prepareComponentParams($arParams);
            $this->arParams = $arParams;
 
            $componentFrame = new \Bitrix\Main\Composite\Internals\AutomaticArea($this);
            $componentFrame->start();
 
            if($returnResult)
            {
                $this->__IncludeComponent();
                $result = $this->arResult;
                  
                
                
       
            
        
                                /var/www/leselshop.ru/bitrix/modules/main/classes/general/main.php
                  
                            {
            echo $this->IncludeStringBefore();
        }
 
        $result = null;
        $bComponentEnabled = (!isset($arFunctionParams["ACTIVE_COMPONENT"]) || $arFunctionParams["ACTIVE_COMPONENT"] <> "N");
 
        $component = new CBitrixComponent();
        if ($component->InitComponent($componentName))
        {
            $obAjax = null;
            if ($bComponentEnabled)
            {
                if (($arParams['AJAX_MODE'] ?? '') == 'Y')
                {
                    $obAjax = new CComponentAjax($componentName, $componentTemplate, $arParams, $parentComponent);
                }
 
                $this->__componentStack[] = $component;
                $result = $component->IncludeComponent($componentTemplate, $arParams, $parentComponent, $returnResult);
 
                array_pop($this->__componentStack);
            }
 
            if ($bDrawIcons)
            {
                $panel = new CComponentPanel($component, $componentName, $componentTemplate, $parentComponent, $bComponentEnabled);
                $arIcons = $panel->GetIcons();
 
                echo $this->IncludeStringAfter($arIcons["icons"], $arIcons["parameters"]);
            }
 
            if ($bComponentEnabled && $obAjax)
            {
                $obAjax->Process();
            }
        }
 
        if ($bShowDebug)
        {
                  
                
                
       
            
        
                                /var/www/leselshop.ru/local/templates/main/header.php
                  
                    <body class="main">
<div class="preloader">
 
</div>
<?
$APPLICATION->ShowPanel(); ?>
<div id="wrapper">
 
    <header>
        <div class="top-line">
            <div class="catch">
                <div>
                </div>
                <div class="top-menu">
                    <div class="close-top-menu js-close-mobile-menu">
                        <i class="fa fa-times" aria-hidden="true"></i>
                    </div>
                    <ul class="ul-top-menu">
                        <?
                        $APPLICATION->IncludeComponent(
                            "bitrix:menu",
                            "top_mobile_catalog",
                            array(
                                "ALLOW_MULTI_SELECT" => "Y",    // Разрешить несколько активных пунктов одновременно
                                "CHILD_MENU_TYPE" => "left",    // Тип меню для остальных уровней
                                "DELAY" => "N",    // Откладывать выполнение шаблона меню
                                "MAX_LEVEL" => "2",    // Уровень вложенности меню
                                "MENU_CACHE_GET_VARS" => "",    // Значимые переменные запроса
                                "MENU_CACHE_TIME" => "36000",    // Время кеширования (сек.)
                                "MENU_CACHE_TYPE" => "A",    // Тип кеширования
                                "MENU_CACHE_USE_GROUPS" => "Y",    // Учитывать права доступа
                                "ROOT_MENU_TYPE" => "top",    // Тип меню для первого уровня
                                "USE_EXT" => "Y",    // Подключать файлы с именами вида .тип_меню.menu_ext.php
                                "COMPONENT_TEMPLATE" => "horizontal_multilevel"
                            ),
                            false
                        ); ?>
                        <li class="top_li_h">
                            <a href="#" class="js-empty-link empty">О нас<span class="turner">
                  <i class="fa fa-caret-up up" aria-hidden="true"></i>
                  
                
                
       
            
        
                                /var/www/leselshop.ru/bitrix/modules/main/include/prolog_after.php
                  
                        elseif (($siteClosed = getLocalPath("php_interface/include/site_closed.php", BX_PERSONAL_ROOT)) !== false)
    {
        include($_SERVER["DOCUMENT_ROOT"] . $siteClosed);
    }
    else
    {
        include($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/site_closed.php");
    }
    die();
}
 
$sPreviewFile = $_SERVER["DOCUMENT_ROOT"] . BX_PERSONAL_ROOT . "/tmp/templates/__bx_preview/header.php";
if (defined("SITE_TEMPLATE_PREVIEW_MODE") && file_exists($sPreviewFile))
{
    include_once($sPreviewFile);
}
else
{
    Main\Page\Asset::getInstance()->startTarget('TEMPLATE');
    include_once($_SERVER["DOCUMENT_ROOT"] . SITE_TEMPLATE_PATH . "/header.php");
    Main\Page\Asset::getInstance()->startTarget('PAGE');
}
 
/* Draw edit menu for whole content */
global $BX_GLOBAL_AREA_EDIT_ICON;
$BX_GLOBAL_AREA_EDIT_ICON = false;
 
if ($APPLICATION->GetShowIncludeAreas())
{
    $aUserOpt = CUserOptions::GetOption("global", "settings", []);
    if (!isset($aUserOpt["page_edit_control_enable"]) || $aUserOpt["page_edit_control_enable"] != "N")
    {
        $documentRoot = CSite::GetSiteDocRoot(SITE_ID);
        if (isset($_SERVER["REAL_FILE_PATH"]) && $_SERVER["REAL_FILE_PATH"] != "")
        {
            $currentFilePath = $_SERVER["REAL_FILE_PATH"];
        }
        else
        {
            $currentFilePath = $APPLICATION->GetCurPage(true);
                  
                          
              Arguments
          
          
              "/var/www/leselshop.ru/local/templates/main/header.php"
           
        
                
       
            
        
                                /var/www/leselshop.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/leselshop.ru/bitrix/modules/main/include/prolog_after.php"
           
        
                
       
            
        
                                /var/www/leselshop.ru/bitrix/header.php
                  
                    <?require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog.php");?>
                  
                          
              Arguments
          
          
              "/var/www/leselshop.ru/bitrix/modules/main/include/prolog.php"
           
        
                
       
            
        
                                /var/www/leselshop.ru/new/index.php
                  
                    <?
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");
$APPLICATION->SetPageProperty("title", "Коллекция FW 25-26 в Интернет-Магазине Lesel | Купить Брендовую Женскую Одежду от Российского Дизайнера");
$APPLICATION->SetPageProperty("description", "Коллекция FW 25-26 (Лесель) - Российский дизайнер одежды! Примерка и бесплатная доставка по России: Москва, СПБ, Красноярск и др. Наш ✆ 8 (800) 777 02 37");
$APPLICATION->SetTitle("Коллекция FW 25-26");
$uriStruct = explode('/', $_SERVER['REQUEST_URI']);
use Bitrix\Main\Application;
$request = Application::getInstance()->getContext()->getRequest();
$IBLOCK_ID = 110;
// Фильтр для товаров
/* $GLOBALS['arrFilter'] = array(
   ">DATE_MODIFY_FROM" => $DB->FormatDate(date("Y-m-d H:i:s", time()-2*2592000),"YYYY-MM-DD HH:MI:SS",CSite::GetDateFormat("FULL")),
    '!DETAIL_PICTURE'=>false
 ); */
$GLOBALS['arrFilter'] = array(
    "PROPERTY_NOVINKA" => 24189,
    '!DETAIL_PICTURE'=>false
);
?><div class="catch-p-40 catch-m-10">
    <div id="breadcrumbs">
         <?$APPLICATION->IncludeComponent(
    "bitrix:breadcrumb",
    "",
    Array(
        "COMPONENT_TEMPLATE" => ".default",
        "PATH" => "",
        "SITE_ID" => "s1",
        "START_FROM" => "0"
    )
);?>
    </div>
    <div class="big-text catalog">
        <div class="col-xs-3 col-sm-3 catalog-filter-block js-catalog-filter-block">
            <div class="fix-block">
                <div class="catalog-filter-place">
                     <?$APPLICATION->IncludeComponent(
    "lesel:catalog.smart.filter",
    "catalog",
                  
                          
              Arguments
          
          
              "/var/www/leselshop.ru/bitrix/header.php"
           
        
                
       
            
        
                                /var/www/leselshop.ru/bitrix/modules/main/include/urlrewrite.php
                  
                                }
 
            $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))
            {
                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/leselshop.ru/new/index.php"
           
        
                
       
            
        
                                /var/www/leselshop.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/leselshop.ru/bitrix/modules/main/include/urlrewrite.php"