1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
include.php
См. документацию.
1<?php
2
9
10use Bitrix\Main;
13
14require_once __DIR__ . "/start.php";
15
16$application = Main\HttpApplication::getInstance();
17$application->initializeExtendedKernel([
18 "get" => $_GET,
19 "post" => $_POST,
20 "files" => $_FILES,
21 "cookie" => $_COOKIE,
22 "server" => $_SERVER,
23 "env" => $_ENV
24]);
25
26if (class_exists('\Dev\Main\Migrator\ModuleUpdater'))
27{
28 \Dev\Main\Migrator\ModuleUpdater::checkUpdates('main', __DIR__);
29}
30
31if (!Main\ModuleManager::isModuleInstalled('bitrix24'))
32{
33 // wwall rules
35
36 $application->addBackgroundJob([
37 Main\Security\W\WWall::class, 'refreshRules'
38 ]);
39
40 // vendor security notifications
41 $application->addBackgroundJob([
42 Main\Security\Notifications\VendorNotifier::class, 'refreshNotifications'
43 ]);
44}
45
46if (defined('SITE_ID'))
47{
48 define('LANG', SITE_ID);
49}
50
51$context = $application->getContext();
52$context->initializeCulture(defined('LANG') ? LANG : null, defined('LANGUAGE_ID') ? LANGUAGE_ID : null);
53
54// needs to be after culture initialization
55$application->start();
56
57// Register main's services
58ServiceLocator::getInstance()->registerByModuleSettings('main');
59
60// constants for compatibility
61$culture = $context->getCulture();
62define('SITE_CHARSET', $culture->getCharset());
63define('FORMAT_DATE', $culture->getFormatDate());
64define('FORMAT_DATETIME', $culture->getFormatDatetime());
65define('LANG_CHARSET', SITE_CHARSET);
66
67$site = $context->getSiteObject();
68if (!defined('LANG'))
69{
70 define('LANG', ($site ? $site->getLid() : $context->getLanguage()));
71}
72define('SITE_DIR', ($site ? $site->getDir() : ''));
73if (!defined('SITE_SERVER_NAME'))
74{
75 define('SITE_SERVER_NAME', ($site ? $site->getServerName() : ''));
76}
77define('LANG_DIR', SITE_DIR);
78
79if (!defined('LANGUAGE_ID'))
80{
81 define('LANGUAGE_ID', $context->getLanguage());
82}
83define('LANG_ADMIN_LID', LANGUAGE_ID);
84
85if (!defined('SITE_ID'))
86{
87 define('SITE_ID', LANG);
88}
89
91$lang = $context->getLanguage();
92
93//define global application object
94$GLOBALS["APPLICATION"] = new CMain;
95
96if (!defined("POST_FORM_ACTION_URI"))
97{
98 define("POST_FORM_ACTION_URI", htmlspecialcharsbx(GetRequestUri()));
99}
100
101$GLOBALS["MESS"] = [];
102$GLOBALS["ALL_LANG_FILES"] = [];
103IncludeModuleLangFile(__DIR__."/tools.php");
104IncludeModuleLangFile(__FILE__);
105
106error_reporting(COption::GetOptionInt("main", "error_reporting", E_COMPILE_ERROR | E_ERROR | E_CORE_ERROR | E_PARSE) & ~E_DEPRECATED & ~E_WARNING & ~E_NOTICE);
107
108if (!defined("BX_COMP_MANAGED_CACHE") && COption::GetOptionString("main", "component_managed_cache_on", "Y") != "N")
109{
110 define("BX_COMP_MANAGED_CACHE", true);
111}
112
113// global functions
114require_once __DIR__ . "/filter_tools.php";
115
116/*ZDUyZmZYmIzN2JmMTY2NmNhZWMzZDEzMzZmNWI4NThmYzY4YmY=*/class CBXFeatures{ public static function IsFeatureEnabled($_1488512778){ return true;} public static function IsFeatureEditable($_1488512778){ return true;} public static function SetFeatureEnabled($_1488512778, $_1436492502= true){} public static function SaveFeaturesSettings($_1261902688, $_183275366){} public static function GetFeaturesList(){ return array();} public static function InitiateEditionsSettings($_1322412720){} public static function ModifyFeaturesSettings($_1322412720, $_1065041958){} public static function IsFeatureInstalled($_1488512778){ return true;}}/**/ //Do not remove this
117
118// Component 2.0 template engines
119$GLOBALS['arCustomTemplateEngines'] = [];
120
121// User fields manager
122$GLOBALS['USER_FIELD_MANAGER'] = new CUserTypeManager;
123
124// todo: remove global
125$GLOBALS['BX_MENU_CUSTOM'] = CMenuCustom::getInstance();
126
127if (file_exists(($_fname = __DIR__ . "/classes/general/update_db_updater.php")))
128{
129 $US_HOST_PROCESS_MAIN = false;
130 include $_fname;
131}
132
133if (($_fname = getLocalPath("init.php")) !== false)
134{
135 include_once $_SERVER["DOCUMENT_ROOT"] . $_fname;
136}
137
138if (($_fname = getLocalPath("php_interface/init.php", BX_PERSONAL_ROOT)) !== false)
139{
140 include_once $_SERVER["DOCUMENT_ROOT"] . $_fname;
141}
142
143if (($_fname = getLocalPath("php_interface/" . SITE_ID . "/init.php", BX_PERSONAL_ROOT)) !== false)
144{
145 include_once $_SERVER["DOCUMENT_ROOT"] . $_fname;
146}
147
148if ((!(defined("STATISTIC_ONLY") && STATISTIC_ONLY && !str_starts_with($GLOBALS["APPLICATION"]->GetCurPage(), BX_ROOT . "/admin/"))) && COption::GetOptionString("main", "include_charset", "Y") == "Y" && LANG_CHARSET != '')
149{
150 header("Content-Type: text/html; charset=".LANG_CHARSET);
151}
152
153if (COption::GetOptionString("main", "set_p3p_header", "Y") == "Y")
154{
155 header("P3P: policyref=\"/bitrix/p3p.xml\", CP=\"NON DSP COR CUR ADM DEV PSA PSD OUR UNR BUS UNI COM NAV INT DEM STA\"");
156}
157
158$license = $application->getLicense();
159header("X-Powered-CMS: Bitrix Site Manager (" . ($license->isDemoKey() ? "DEMO" : $license->getPublicHashKey()) . ")");
160
161if (COption::GetOptionString("main", "update_devsrv", "") == "Y")
162{
163 header("X-DevSrv-CMS: Bitrix");
164}
165
166//agents
167if (COption::GetOptionString("main", "check_agents", "Y") == "Y")
168{
169 $application->addBackgroundJob(["CAgent", "CheckAgents"], [], Main\Application::JOB_PRIORITY_LOW);
170}
171
172//send email events
173if (COption::GetOptionString("main", "check_events", "Y") !== "N")
174{
175 $application->addBackgroundJob(['\Bitrix\Main\Mail\EventManager', 'checkEvents'], [], Main\Application::JOB_PRIORITY_LOW - 1);
176}
177
178$healerOfEarlySessionStart = new HealerEarlySessionStart();
179$healerOfEarlySessionStart->process($application->getKernelSession());
180
181$kernelSession = $application->getKernelSession();
182$kernelSession->start();
183$application->getSessionLocalStorageManager()->setUniqueId($kernelSession->getId());
184
185foreach (GetModuleEvents("main", "OnPageStart", true) as $arEvent)
186{
187 ExecuteModuleEventEx($arEvent);
188}
189
190//define global user object
191$GLOBALS["USER"] = new CUser;
192
193//session control from group policy
194$arPolicy = $GLOBALS["USER"]->GetSecurityPolicy();
195$currTime = time();
196if (
197 (
198 //IP address changed
199 $kernelSession['SESS_IP']
200 && $arPolicy["SESSION_IP_MASK"] != ''
201 && (
202 (ip2long($arPolicy["SESSION_IP_MASK"]) & ip2long($kernelSession['SESS_IP']))
203 !=
204 (ip2long($arPolicy["SESSION_IP_MASK"]) & ip2long($_SERVER['REMOTE_ADDR']))
205 )
206 )
207 ||
208 (
209 //session timeout
210 $arPolicy["SESSION_TIMEOUT"] > 0
211 && $kernelSession['SESS_TIME'] > 0
212 && ($currTime - $arPolicy["SESSION_TIMEOUT"] * 60) > $kernelSession['SESS_TIME']
213 )
214 ||
215 (
216 //signed session
217 isset($kernelSession["BX_SESSION_SIGN"])
218 && $kernelSession["BX_SESSION_SIGN"] != bitrix_sess_sign()
219 )
220 ||
221 (
222 //session manually expired, e.g. in $User->LoginHitByHash
224 )
225)
226{
227 $compositeSessionManager = $application->getCompositeSessionManager();
228 $compositeSessionManager->destroy();
229
230 $application->getSession()->setId(Main\Security\Random::getString(32));
231 $compositeSessionManager->start();
232
233 $GLOBALS["USER"] = new CUser;
234}
235$kernelSession['SESS_IP'] = $_SERVER['REMOTE_ADDR'] ?? null;
236if (empty($kernelSession['SESS_TIME']))
237{
238 $kernelSession['SESS_TIME'] = $currTime;
239}
240elseif (($currTime - $kernelSession['SESS_TIME']) > 60)
241{
242 $kernelSession['SESS_TIME'] = $currTime;
243}
244if (!isset($kernelSession["BX_SESSION_SIGN"]))
245{
246 $kernelSession["BX_SESSION_SIGN"] = bitrix_sess_sign();
247}
248
249//session control from security module
250if (
251 (COption::GetOptionString("main", "use_session_id_ttl", "N") == "Y")
252 && (COption::GetOptionInt("main", "session_id_ttl", 0) > 0)
253 && !defined("BX_SESSION_ID_CHANGE")
254)
255{
256 if (!isset($kernelSession['SESS_ID_TIME']))
257 {
258 $kernelSession['SESS_ID_TIME'] = $currTime;
259 }
260 elseif (($kernelSession['SESS_ID_TIME'] + COption::GetOptionInt("main", "session_id_ttl")) < $kernelSession['SESS_TIME'])
261 {
262 $compositeSessionManager = $application->getCompositeSessionManager();
263 $compositeSessionManager->regenerateId();
264
265 $kernelSession['SESS_ID_TIME'] = $currTime;
266 }
267}
268
269define("BX_STARTED", true);
270
271if (isset($kernelSession['BX_ADMIN_LOAD_AUTH']))
272{
273 define('ADMIN_SECTION_LOAD_AUTH', 1);
274 unset($kernelSession['BX_ADMIN_LOAD_AUTH']);
275}
276
278$USER_LID = false;
279
280if (!defined("NOT_CHECK_PERMISSIONS") || NOT_CHECK_PERMISSIONS !== true)
281{
282 $doLogout = isset($_REQUEST["logout"]) && (strtolower($_REQUEST["logout"]) == "yes");
283
284 if ($doLogout && $GLOBALS["USER"]->IsAuthorized())
285 {
286 $secureLogout = (Main\Config\Option::get("main", "secure_logout", "N") == "Y");
287
288 if (!$secureLogout || check_bitrix_sessid())
289 {
290 $GLOBALS["USER"]->Logout();
291 LocalRedirect($GLOBALS["APPLICATION"]->GetCurPageParam('', ['logout', 'sessid']));
292 }
293 }
294
295 // authorize by cookies
296 if (!$GLOBALS["USER"]->IsAuthorized())
297 {
298 $GLOBALS["USER"]->LoginByCookies();
299 }
300
301 $arAuthResult = false;
302
303 //http basic and digest authorization
304 if (($httpAuth = $GLOBALS["USER"]->LoginByHttpAuth()) !== null)
305 {
306 $arAuthResult = $httpAuth;
307 $GLOBALS["APPLICATION"]->SetAuthResult($arAuthResult);
308 }
309
310 //Authorize user from authorization html form
311 //Only POST is accepted
312 if (isset($_POST["AUTH_FORM"]) && $_POST["AUTH_FORM"] != '')
313 {
314 if (COption::GetOptionString('main', 'use_encrypted_auth', 'N') == 'Y')
315 {
316 //possible encrypted user password
317 $sec = new CRsaSecurity();
318 if (($arKeys = $sec->LoadKeys()))
319 {
320 $sec->SetKeys($arKeys);
321 $errno = $sec->AcceptFromForm(['USER_PASSWORD', 'USER_CONFIRM_PASSWORD', 'USER_CURRENT_PASSWORD']);
322 if ($errno == CRsaSecurity::ERROR_SESS_CHECK)
323 {
324 $arAuthResult = ["MESSAGE" => GetMessage("main_include_decode_pass_sess"), "TYPE" => "ERROR"];
325 }
326 elseif ($errno < 0)
327 {
328 $arAuthResult = ["MESSAGE" => GetMessage("main_include_decode_pass_err", ["#ERRCODE#" => $errno]), "TYPE" => "ERROR"];
329 }
330
331 if ($errno < 0)
332 {
333 $bRsaError = true;
334 }
335 }
336 }
337
338 if (!$bRsaError)
339 {
340 if (!defined("ADMIN_SECTION") || ADMIN_SECTION !== true)
341 {
343 }
344
345 $_POST["TYPE"] = $_POST["TYPE"] ?? null;
346 if (isset($_POST["TYPE"]) && $_POST["TYPE"] == "AUTH")
347 {
348 $arAuthResult = $GLOBALS["USER"]->Login(
349 $_POST["USER_LOGIN"] ?? '',
350 $_POST["USER_PASSWORD"] ?? '',
351 $_POST["USER_REMEMBER"] ?? ''
352 );
353 }
354 elseif (isset($_POST["TYPE"]) && $_POST["TYPE"] == "OTP")
355 {
356 $arAuthResult = $GLOBALS["USER"]->LoginByOtp(
357 $_POST["USER_OTP"] ?? '',
358 $_POST["OTP_REMEMBER"] ?? '',
359 $_POST["captcha_word"] ?? '',
360 $_POST["captcha_sid"] ?? ''
361 );
362 }
363 elseif (isset($_POST["TYPE"]) && $_POST["TYPE"] == "SEND_PWD")
364 {
365 $arAuthResult = CUser::SendPassword(
366 $_POST["USER_LOGIN"] ?? '',
367 $_POST["USER_EMAIL"] ?? '',
368 $USER_LID,
369 $_POST["captcha_word"] ?? '',
370 $_POST["captcha_sid"] ?? '',
371 $_POST["USER_PHONE_NUMBER"] ?? ''
372 );
373 }
374 elseif (isset($_POST["TYPE"]) && $_POST["TYPE"] == "CHANGE_PWD")
375 {
376 $arAuthResult = $GLOBALS["USER"]->ChangePassword(
377 $_POST["USER_LOGIN"] ?? '',
378 $_POST["USER_CHECKWORD"] ?? '',
379 $_POST["USER_PASSWORD"] ?? '',
380 $_POST["USER_CONFIRM_PASSWORD"] ?? '',
381 $USER_LID,
382 $_POST["captcha_word"] ?? '',
383 $_POST["captcha_sid"] ?? '',
384 true,
385 $_POST["USER_PHONE_NUMBER"] ?? '',
386 $_POST["USER_CURRENT_PASSWORD"] ?? ''
387 );
388 }
389
390 if ($_POST["TYPE"] == "AUTH" || $_POST["TYPE"] == "OTP")
391 {
392 //special login form in the control panel
393 if ($arAuthResult === true && defined('ADMIN_SECTION') && ADMIN_SECTION === true)
394 {
395 //store cookies for next hit (see CMain::GetSpreadCookieHTML())
396 $GLOBALS["APPLICATION"]->StoreCookies();
397 $kernelSession['BX_ADMIN_LOAD_AUTH'] = true;
398
399 // die() follows
400 CMain::FinalActions('<script>window.onload=function(){(window.BX || window.parent.BX).AUTHAGENT.setAuthResult(false);};</script>');
401 }
402 }
403 }
404 $GLOBALS["APPLICATION"]->SetAuthResult($arAuthResult);
405 }
406 elseif (!$GLOBALS["USER"]->IsAuthorized() && isset($_REQUEST['bx_hit_hash']))
407 {
408 //Authorize by unique URL
409 $GLOBALS["USER"]->LoginHitByHash($_REQUEST['bx_hit_hash']);
410 }
411}
412
413//logout or re-authorize the user if something importand has changed
414$GLOBALS["USER"]->CheckAuthActions();
415
416//magic short URI
417if (defined("BX_CHECK_SHORT_URI") && BX_CHECK_SHORT_URI && CBXShortUri::CheckUri())
418{
419 //local redirect inside
420 die();
421}
422
423//application password scope control
424if (($applicationID = $GLOBALS["USER"]->getContext()->getApplicationId()) !== null)
425{
427 if ($appManager->checkScope($applicationID) !== true)
428 {
429 $event = new Main\Event("main", "onApplicationScopeError", ['APPLICATION_ID' => $applicationID]);
430 $event->send();
431
432 $context->getResponse()->setStatus("403 Forbidden");
433 $application->end();
434 }
435}
436
437//define the site template
438if (!defined("ADMIN_SECTION") || ADMIN_SECTION !== true)
439{
440 $siteTemplate = "";
441 if (!empty($_REQUEST["bitrix_preview_site_template"]) && is_string($_REQUEST["bitrix_preview_site_template"]) && $GLOBALS["USER"]->CanDoOperation('view_other_settings'))
442 {
443 //preview of site template
444 $signer = new Main\Security\Sign\Signer();
445 try
446 {
447 //protected by a sign
448 $requestTemplate = $signer->unsign($_REQUEST["bitrix_preview_site_template"], "template_preview".bitrix_sessid());
449
450 $aTemplates = CSiteTemplate::GetByID($requestTemplate);
451 if ($template = $aTemplates->Fetch())
452 {
453 $siteTemplate = $template["ID"];
454
455 //preview of unsaved template
456 if (isset($_GET['bx_template_preview_mode']) && $_GET['bx_template_preview_mode'] == 'Y' && $GLOBALS["USER"]->CanDoOperation('edit_other_settings'))
457 {
458 define("SITE_TEMPLATE_PREVIEW_MODE", true);
459 }
460 }
461 }
462 catch (Main\Security\Sign\BadSignatureException)
463 {
464 }
465 }
466 if ($siteTemplate == "")
467 {
468 $siteTemplate = CSite::GetCurTemplate();
469 }
470
471 if (!defined('SITE_TEMPLATE_ID'))
472 {
473 define("SITE_TEMPLATE_ID", $siteTemplate);
474 }
475
476 if (!defined('SITE_TEMPLATE_PATH'))
477 {
478 define("SITE_TEMPLATE_PATH", getLocalPath('templates/'.SITE_TEMPLATE_ID, BX_PERSONAL_ROOT));
479 }
480}
481else
482{
483 // prevents undefined constants
484 if (!defined('SITE_TEMPLATE_ID'))
485 {
486 define('SITE_TEMPLATE_ID', '.default');
487 }
488
489 define('SITE_TEMPLATE_PATH', '/bitrix/templates/.default');
490}
491
492//magic parameters: show page creation time
493if (isset($_GET["show_page_exec_time"]))
494{
495 if ($_GET["show_page_exec_time"] == "Y" || $_GET["show_page_exec_time"] == "N")
496 {
497 $kernelSession["SESS_SHOW_TIME_EXEC"] = $_GET["show_page_exec_time"];
498 }
499}
500
501//magic parameters: show included file processing time
502if (isset($_GET["show_include_exec_time"]))
503{
504 if ($_GET["show_include_exec_time"] == "Y" || $_GET["show_include_exec_time"] == "N")
505 {
506 $kernelSession["SESS_SHOW_INCLUDE_TIME_EXEC"] = $_GET["show_include_exec_time"];
507 }
508}
509
510//magic parameters: show include areas
511if (!empty($_GET["bitrix_include_areas"]))
512{
513 $GLOBALS["APPLICATION"]->SetShowIncludeAreas($_GET["bitrix_include_areas"]=="Y");
514}
515
516//magic sound
517if ($GLOBALS["USER"]->IsAuthorized())
518{
519 $cookie_prefix = COption::GetOptionString('main', 'cookie_name', 'BITRIX_SM');
520 if (!isset($_COOKIE[$cookie_prefix.'_SOUND_LOGIN_PLAYED']))
521 {
522 $GLOBALS["APPLICATION"]->set_cookie('SOUND_LOGIN_PLAYED', 'Y', 0);
523 }
524}
525
526//magic cache
528
529// should be before proactive filter on OnBeforeProlog
530$userPassword = $_POST["USER_PASSWORD"] ?? null;
531$userConfirmPassword = $_POST["USER_CONFIRM_PASSWORD"] ?? null;
532
533foreach(GetModuleEvents("main", "OnBeforeProlog", true) as $arEvent)
534{
535 ExecuteModuleEventEx($arEvent);
536}
537
538// need to reinit
539$GLOBALS["APPLICATION"]->SetCurPage(false);
540
541if (!defined("NOT_CHECK_PERMISSIONS") || NOT_CHECK_PERMISSIONS !== true)
542{
543 //Register user from authorization html form
544 //Only POST is accepted
545 if (isset($_POST["AUTH_FORM"]) && $_POST["AUTH_FORM"] != '' && isset($_POST["TYPE"]) && $_POST["TYPE"] == "REGISTRATION")
546 {
547 if (!$bRsaError)
548 {
549 if (COption::GetOptionString("main", "new_user_registration", "N") == "Y" && (!defined("ADMIN_SECTION") || ADMIN_SECTION !== true))
550 {
551 $arAuthResult = $GLOBALS["USER"]->Register(
552 $_POST["USER_LOGIN"] ?? '',
553 $_POST["USER_NAME"] ?? '',
554 $_POST["USER_LAST_NAME"] ?? '',
557 $_POST["USER_EMAIL"] ?? '',
558 $USER_LID,
559 $_POST["captcha_word"] ?? '',
560 $_POST["captcha_sid"] ?? '',
561 false,
562 $_POST["USER_PHONE_NUMBER"] ?? ''
563 );
564
565 $GLOBALS["APPLICATION"]->SetAuthResult($arAuthResult);
566 }
567 }
568 }
569}
570
571if ((!defined("NOT_CHECK_PERMISSIONS") || NOT_CHECK_PERMISSIONS !== true) && (!defined("NOT_CHECK_FILE_PERMISSIONS") || NOT_CHECK_FILE_PERMISSIONS !== true))
572{
573 $real_path = $context->getRequest()->getScriptFile();
574
575 if (!$GLOBALS["USER"]->CanDoFileOperation('fm_view_file', [SITE_ID, $real_path]) || (defined("NEED_AUTH") && NEED_AUTH && !$GLOBALS["USER"]->IsAuthorized()))
576 {
577 if ($GLOBALS["USER"]->IsAuthorized() && empty($arAuthResult["MESSAGE"]))
578 {
579 $arAuthResult = ["MESSAGE" => GetMessage("ACCESS_DENIED").' '.GetMessage("ACCESS_DENIED_FILE", ["#FILE#" => $real_path]), "TYPE" => "ERROR"];
580
581 if (COption::GetOptionString("main", "event_log_permissions_fail", "N") === "Y")
582 {
583 CEventLog::Log(CEventLog::SEVERITY_SECURITY, "USER_PERMISSIONS_FAIL", "main", $GLOBALS["USER"]->GetID(), $real_path);
584 }
585 }
586
587 if (defined("ADMIN_SECTION") && ADMIN_SECTION === true)
588 {
589 if (isset($_REQUEST["mode"]) && ($_REQUEST["mode"] === "list" || $_REQUEST["mode"] === "settings"))
590 {
591 echo "<script>top.location='".$GLOBALS["APPLICATION"]->GetCurPage()."?".DeleteParam(["mode"])."';</script>";
592 die();
593 }
594 elseif (isset($_REQUEST["mode"]) && $_REQUEST["mode"] === "frame")
595 {
596 echo "<script>
597 const w = (opener? opener.window:parent.window);
598 w.location.href='" .$GLOBALS["APPLICATION"]->GetCurPage()."?".DeleteParam(["mode"])."';
599 </script>";
600 die();
601 }
602 elseif (defined("MOBILE_APP_ADMIN") && MOBILE_APP_ADMIN === true)
603 {
604 echo json_encode(["status" => "failed"]);
605 die();
606 }
607 }
608
610 $GLOBALS["APPLICATION"]->AuthForm($arAuthResult);
611 }
612}
613
614 //Do not remove this
615
const BX_ROOT
Определения bx_root.php:3
static shouldBeEnabled()
Определения engine.php:1142
static get($moduleId, $name, $default="", $siteId=false)
Определения option.php:30
static GetOptionString($module_id, $name, $def="", $site=false, $bExactSite=false)
Определения option.php:8
static GetCurTemplate()
Определения site.php:937
Определения include.php:116
static IsFeatureEnabled($_1488512778)
Определения include.php:116
static IsFeatureEditable($_1488512778)
Определения include.php:116
static ModifyFeaturesSettings($_1322412720, $_1065041958)
Определения include.php:116
static IsFeatureInstalled($_1488512778)
Определения include.php:116
static InitiateEditionsSettings($_1322412720)
Определения include.php:116
static GetFeaturesList()
Определения include.php:116
static SaveFeaturesSettings($_1261902688, $_183275366)
Определения include.php:116
static SetFeatureEnabled($_1488512778, $_1436492502=true)
Определения include.php:116
static CheckUri()
Определения short_uri.php:279
const SEVERITY_SECURITY
Определения event_log.php:22
static Log($SEVERITY, $AUDIT_TYPE_ID, $MODULE_ID, $ITEM_ID, $DESCRIPTION=false, $SITE_ID=false)
Определения event_log.php:32
static getInstance()
Определения menucustom.php:12
Определения rsasecurity.php:35
const ERROR_SESS_CHECK
Определения rsasecurity.php:46
static GetByID($ID)
Определения site_template.php:142
const MOBILE_APP_ADMIN
Определения defines.php:2
$template
Определения file_edit.php:49
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
$_REQUEST["admin_mnu_menu_id"]
Определения get_menu.php:8
const STATISTIC_ONLY
Определения include_statistics_after.php:4
$_SERVER["DOCUMENT_ROOT"]
Определения cron_frame.php:9
const NOT_CHECK_PERMISSIONS
Определения cron_frame.php:15
$context
Определения csv_new_setup.php:223
$application
Определения bitrix.php:23
const BX_CHECK_SHORT_URI(str_starts_with($requestUri, "/bitrix/admin/"))
Определения urlrewrite.php:142
const SITE_DIR(!defined('LANG'))
Определения include.php:72
$userPassword
Определения include.php:530
if(!defined('SITE_ID')) $lang
Определения include.php:91
$currTime
Определения include.php:195
const SITE_CHARSET
Определения include.php:62
if(COption::GetOptionString("main", "update_devsrv", "")=="Y") if(COption::GetOptionString("main", "check_agents", "Y")=="Y") if(COption::GetOptionString("main", "check_events", "Y") !=="N") $healerOfEarlySessionStart
Определения include.php:178
const LANG_CHARSET
Определения include.php:65
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
Определения include.php:158
$arPolicy
Определения include.php:194
if(isset($kernelSession['BX_ADMIN_LOAD_AUTH'])) $bRsaError
Определения include.php:277
$USER_LID
Определения include.php:278
$culture
Определения include.php:61
$kernelSession
Определения include.php:181
$userConfirmPassword
Определения include.php:531
const NOT_CHECK_FILE_PERMISSIONS
Определения session.php:6
isSessionExpired()
Определения tools.php:5138
check_bitrix_sessid($varname='sessid')
Определения tools.php:4686
ExecuteModuleEventEx($arEvent, $arParams=[])
Определения tools.php:5214
bitrix_sessid()
Определения tools.php:4656
DeleteParam($ParamNames)
Определения tools.php:4548
GetRequestUri()
Определения tools.php:3192
bitrix_sess_sign()
Определения tools.php:4681
htmlspecialcharsbx($string, $flags=ENT_COMPAT, $doubleEncode=true)
Определения tools.php:2701
GetModuleEvents($MODULE_ID, $MESSAGE_ID, $bReturnArray=false)
Определения tools.php:5177
IncludeModuleLangFile($filepath, $lang=false, $bReturnArray=false)
Определения tools.php:3778
GetMessage($name, $aReplace=null)
Определения tools.php:3397
getLocalPath($path, $baseFolder="/bitrix")
Определения tools.php:5092
LocalRedirect($url, $skip_security_check=false, $status="302 Found")
Определения tools.php:4005
const NEED_AUTH
Определения prolog_admin_before.php:17
$event
Определения prolog_after.php:141
if( $daysToExpire >=0 &&$daysToExpire< 60 elseif)( $daysToExpire< 0)
Определения prolog_main_admin.php:393
die
Определения quickway.php:367
const ADMIN_SECTION
Определения rss.php:2
const SITE_ID
Определения sonet_set_content_view.php:12
$GLOBALS['_____370096793']
Определения update_client.php:1
$site
Определения yandex_run.php:614