1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
source.php
См. документацию.
1
<?php
2
define(
'STOP_STATISTICS'
,
true
);
3
define(
'PUBLIC_AJAX_MODE'
,
true
);
4
define(
'NOT_CHECK_PERMISSIONS'
,
true
);
5
6
use
Bitrix\Main\Loader
,
7
Bitrix\Landing
;
8
9
if
(isset(
$_REQUEST
[
'site'
]) && is_string(
$_REQUEST
[
'site'
]))
10
{
11
if
(preg_match(
'/^[a-z0-9_]{2}$/i'
,
$_REQUEST
[
'site'
]))
12
{
13
define(
'SITE_ID'
,
$_REQUEST
[
'site'
]);
14
}
15
}
16
if
(isset(
$_REQUEST
[
'template'
]) && is_string(
$_REQUEST
[
'template'
]))
17
{
18
$template
= preg_replace(
19
"/[^a-zA-Z0-9_.]/"
,
20
""
,
21
$_REQUEST
[
'template'
]
22
);
23
if
(
$template
!==
''
)
24
{
25
define(
'SITE_TEMPLATE_ID'
,
$template
);
26
}
27
}
28
if
(isset(
$_REQUEST
[
'admin_section'
]) &&
$_REQUEST
[
'admin_section'
] ===
'Y'
)
29
{
30
define(
'ADMIN_SECTION'
,
true
);
31
}
32
33
require_once(
$_SERVER
[
'DOCUMENT_ROOT'
].
'/bitrix/modules/main/include/prolog_before.php'
);
34
35
if
(Loader::includeModule(
'landing'
))
36
{
37
$selector =
new
Landing\Source\Selector
();
38
$selector->showSourceFilterByRequest();
39
}
40
41
require(
$_SERVER
[
'DOCUMENT_ROOT'
].
'/bitrix/modules/main/include/epilog_after.php'
);
Bitrix\Landing\Source\Selector
Определения
selector.php:12
Bitrix\Main\Loader
Определения
loader.php:13
$template
$template
Определения
file_edit.php:49
$_REQUEST
$_REQUEST["admin_mnu_menu_id"]
Определения
get_menu.php:8
$_SERVER
$_SERVER["DOCUMENT_ROOT"]
Определения
cron_frame.php:9
Bitrix\Landing
Определения
agent.php:3
bitrix
modules
landing
tools
source.php
Создано системой
1.14.0