1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Файл include.php

См. исходные тексты.

Структуры данных

class  CBXFeatures

Переменные

 $application = Main\HttpApplication::getInstance()
if(class_exists('\Dev\Main\Migrator\ModuleUpdater')) if(!Main\ModuleManager::isModuleInstalled( 'bitrix24')) if(defined('SITE_ID')) $context = $application->getContext()
 $culture = $context->getCulture()
const SITE_CHARSET $culture->getCharset()
const FORMAT_DATE $culture->getFormatDate()
const FORMAT_DATETIME $culture->getFormatDatetime()
const LANG_CHARSET SITE_CHARSET
 $site = $context->getSiteObject()
const SITE_DIR (!defined('LANG')) ($site ? $site->getDir() : '')
const LANG_DIR (!defined('SITE_SERVER_NAME')) SITE_DIR
const LANG_ADMIN_LID (!defined('LANGUAGE_ID')) LANGUAGE_ID
if(!defined('SITE_ID')) $lang = $context->getLanguage()
 $GLOBALS ["APPLICATION"] = new CMain
if(!defined("POST_FORM_ACTION_URI")) $GLOBALS ["MESS"] = []
 $GLOBALS ["ALL_LANG_FILES"] = []
 if (!defined("BX_COMP_MANAGED_CACHE") &&COption::GetOptionString("main", "component_managed_cache_on", "Y") !="N")
 $GLOBALS ['arCustomTemplateEngines'] = []
 $GLOBALS ['USER_FIELD_MANAGER'] = new CUserTypeManager
 $GLOBALS ['BX_MENU_CUSTOM'] = CMenuCustom::getInstance()
if(file_exists(( $_fname=__DIR__ . "/classes/general/update_db_updater.php"))) if(($_fname=getLocalPath("init.php")) !==false) if(( $_fname=getLocalPath("php_interface/init.php", BX_PERSONAL_ROOT)) !==false) if(($_fname=getLocalPath("php_interface/" . SITE_ID . "/init.php", BX_PERSONAL_ROOT)) !==false) if((!(defined("STATISTIC_ONLY") &&STATISTIC_ONLY &&!str_starts_with( $GLOBALS["APPLICATION"]->GetCurPage(), BX_ROOT . "/admin/"))) &&COption::GetOptionString("main", "include_charset", "Y")=="Y" &&LANG_CHARSET !='') if(COption::GetOptionString("main", "set_p3p_header", "Y")=="Y") $license = $application->getLicense()
if(COption::GetOptionString("main", "update_devsrv", "")=="Y") if(COption::GetOptionString("main", "check_agents", "Y")=="Y") if(COption::GetOptionString("main", "check_events", "Y") !=="N") $healerOfEarlySessionStart = new HealerEarlySessionStart()
 $kernelSession = $application->getKernelSession()
foreach(GetModuleEvents("main", "OnPageStart", true) as $arEvent) $GLOBALS ["USER"] = new CUser
 $arPolicy = $GLOBALS["USER"]->GetSecurityPolicy()
 $currTime = time()
if(($kernelSession $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']))))||($arPolicy["SESSION_TIMEOUT"] > 0 && $kernelSession['SESS_TIME'] > 0 &&($currTime - $arPolicy["SESSION_TIMEOUT"] *60) > $kernelSession['SESS_TIME'])||(isset($kernelSession["BX_SESSION_SIGN"]) && $kernelSession["BX_SESSION_SIGN"] !=bitrix_sess_sign())||(isSessionExpired()))['SESS_IP'] = $_SERVER['REMOTE_ADDR'] ?? null
const BX_STARTED ((COption::GetOptionString("main", "use_session_id_ttl", "N")=="Y") &&(COption::GetOptionInt("main", "session_id_ttl", 0) > 0) &&!defined("BX_SESSION_ID_CHANGE")) true
if(isset($kernelSession['BX_ADMIN_LOAD_AUTH'])) $bRsaError = false
 $USER_LID = false
if(defined("BX_CHECK_SHORT_URI") &&BX_CHECK_SHORT_URI &&CBXShortUri::CheckUri()) if(( $applicationID=$GLOBALS["USER"]->getContext() ->getApplicationId()) !==null) if(!defined("ADMIN_SECTION")||ADMIN_SECTION !==true) else
 $userPassword = $_POST["USER_PASSWORD"] ?? null
 $userConfirmPassword = $_POST["USER_CONFIRM_PASSWORD"] ?? null

Переменные

◆ $application

$application = Main\HttpApplication::getInstance()

См. определение в файле include.php строка 16

◆ $arPolicy

$arPolicy = $GLOBALS["USER"]->GetSecurityPolicy()

См. определение в файле include.php строка 194

◆ $bRsaError

if (isset( $kernelSession[ 'BX_ADMIN_LOAD_AUTH'])) $bRsaError = false

См. определение в файле include.php строка 277

◆ $context

if(class_exists('\Dev\Main\Migrator\ModuleUpdater')) if(!Main\ModuleManager::isModuleInstalled('bitrix24')) if (defined( 'SITE_ID')) $context = $application->getContext()

См. определение в файле include.php строка 51

◆ $culture

$culture = $context->getCulture()

См. определение в файле include.php строка 61

◆ $currTime

$currTime = time()

См. определение в файле include.php строка 195

◆ $GLOBALS [1/7]

$GLOBALS["ALL_LANG_FILES"] = []

См. определение в файле include.php строка 102

◆ $GLOBALS [2/7]

$GLOBALS["APPLICATION"] = new CMain

См. определение в файле include.php строка 94

◆ $GLOBALS [3/7]

if (!defined("POST_FORM_ACTION_URI")) $GLOBALS["MESS"] = []

См. определение в файле include.php строка 101

◆ $GLOBALS [4/7]

foreach (GetModuleEvents("main", "OnPageStart", true) as $arEvent) $GLOBALS["USER"] = new CUser

См. определение в файле include.php строка 191

◆ $GLOBALS [5/7]

$GLOBALS[ 'arCustomTemplateEngines'] = []

См. определение в файле include.php строка 119

◆ $GLOBALS [6/7]

$GLOBALS[ 'BX_MENU_CUSTOM'] = CMenuCustom::getInstance()

См. определение в файле include.php строка 125

◆ $GLOBALS [7/7]

$GLOBALS[ 'USER_FIELD_MANAGER'] = new CUserTypeManager

См. определение в файле include.php строка 122

◆ $healerOfEarlySessionStart

if(COption::GetOptionString("main", "update_devsrv", "")=="Y") if(COption::GetOptionString("main", "check_agents", "Y")=="Y") if (COption::GetOptionString("main", "check_events", "Y") !=="N") $healerOfEarlySessionStart = new HealerEarlySessionStart()

См. определение в файле include.php строка 178

◆ $kernelSession [1/2]

$kernelSession = $application->getKernelSession()

См. определение в файле include.php строка 181

◆ $kernelSession [2/2]

if (( $kernelSession $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']))))||( $arPolicy["SESSION_TIMEOUT"] > 0 &&$kernelSession[ 'SESS_TIME'] > 0 &&( $currTime - $arPolicy["SESSION_TIMEOUT"] *60) > $kernelSession[ 'SESS_TIME'])||( isset( $kernelSession["BX_SESSION_SIGN"]) &&$kernelSession["BX_SESSION_SIGN"] !=bitrix_sess_sign())||( isSessionExpired()))[ 'SESS_IP'] = $_SERVER['REMOTE_ADDR'] ?? null

См. определение в файле include.php строка 235

◆ $lang

if (!defined( 'SITE_ID')) $lang = $context->getLanguage()

@global $lang

См. определение в файле include.php строка 91

◆ $license

if(file_exists(($_fname=__DIR__ . "/classes/general/update_db_updater.php"))) if(( $_fname=getLocalPath("init.php")) !==false) if(($_fname=getLocalPath("php_interface/init.php", BX_PERSONAL_ROOT)) !==false) if(( $_fname=getLocalPath("php_interface/" . SITE_ID . "/init.php", BX_PERSONAL_ROOT)) !==false) if((!(defined("STATISTIC_ONLY") &&STATISTIC_ONLY &&!str_starts_with($GLOBALS["APPLICATION"]->GetCurPage(), BX_ROOT . "/admin/"))) &&COption::GetOptionString("main", "include_charset", "Y")=="Y" &&LANG_CHARSET !='') if (COption::GetOptionString("main", "set_p3p_header", "Y")=="Y") $license = $application->getLicense()

См. определение в файле include.php строка 158

◆ $site

$site = $context->getSiteObject()

См. определение в файле include.php строка 67

◆ $USER_LID

$USER_LID = false

См. определение в файле include.php строка 278

◆ $userConfirmPassword

$userConfirmPassword = $_POST["USER_CONFIRM_PASSWORD"] ?? null

См. определение в файле include.php строка 531

◆ $userPassword

$userPassword = $_POST["USER_PASSWORD"] ?? null

См. определение в файле include.php строка 530

◆ BX_STARTED

const BX_STARTED((COption::GetOptionString("main", "use_session_id_ttl", "N")=="Y") &&(COption::GetOptionInt("main", "session_id_ttl", 0) > 0) &&!defined("BX_SESSION_ID_CHANGE")) ( (COption::GetOptionString("main", "use_session_id_ttl", "N")=="Y") &&(COption::GetOptionInt("main", "session_id_ttl", 0) > 0) &&!defined("BX_SESSION_ID_CHANGE") ) true

См. определение в файле include.php строка 269

◆ else

if(defined("BX_CHECK_SHORT_URI") &&BX_CHECK_SHORT_URI &&CBXShortUri::CheckUri()) if(($applicationID=$GLOBALS["USER"]->getContext() ->getApplicationId()) !==null) if (!defined("ADMIN_SECTION")||ADMIN_SECTION !==true) else
Инициализатор
{
if (!defined('SITE_TEMPLATE_ID'))
{
define('SITE_TEMPLATE_ID', '.default');
}
define('SITE_TEMPLATE_PATH', '/bitrix/templates/.default')

См. определение в файле include.php строка 481

◆ FORMAT_DATE

const FORMAT_DATE $culture->getFormatDate()

См. определение в файле include.php строка 63

◆ FORMAT_DATETIME

const FORMAT_DATETIME $culture->getFormatDatetime()

См. определение в файле include.php строка 64

◆ if

if(!defined("BX_COMP_MANAGED_CACHE") &&COption::GetOptionString("main", "component_managed_cache_on", "Y") !="N") ( !defined("BX_COMP_MANAGED_CACHE") &&COption::GetOptionString("main", "component_managed_cache_on", "Y") ! = "N")

См. определение в файле include.php строка 108

◆ LANG_ADMIN_LID

const LANG_ADMIN_LID(!defined( 'LANGUAGE_ID')) ( ! defined 'LANGUAGE_ID') LANGUAGE_ID

См. определение в файле include.php строка 83

◆ LANG_CHARSET

const LANG_CHARSET SITE_CHARSET

См. определение в файле include.php строка 65

◆ LANG_DIR

const LANG_DIR(!defined( 'SITE_SERVER_NAME')) ( ! defined 'SITE_SERVER_NAME') SITE_DIR

См. определение в файле include.php строка 77

◆ SITE_CHARSET

const SITE_CHARSET $culture->getCharset()

См. определение в файле include.php строка 62

◆ SITE_DIR

const SITE_DIR(!defined( 'LANG')) ( ! defined 'LANG') ($site ? $site->getDir() : '')

См. определение в файле include.php строка 72