1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
application.php
См. документацию.
1
<?php
8
9
namespace
Bitrix\Main\Authentication
;
10
11
use
Bitrix\Main
;
12
13
class
Application
14
{
15
protected
$validUrls
=
array
();
16
17
public
function
__construct
()
18
{
19
}
20
26
public
function
checkScope()
27
{
29
$request
= Main\Context::getCurrent()->getRequest();
30
$realPath =
$request
->getScriptFile();
31
32
foreach
($this->validUrls as
$url
)
33
{
34
if
(mb_strpos($realPath,
$url
) === 0)
35
{
36
return
true
;
37
}
38
}
39
40
return
false
;
41
}
42
}
$request
if(!Loader::includeModule('catalog')) if(!AccessController::getCurrent() ->check(ActionDictionary::ACTION_PRICE_EDIT)) if(!check_bitrix_sessid()) $request
Определения
catalog_reindex.php:36
Bitrix\Main\Application
Определения
application.php:30
Bitrix\Main\Authentication\Application\__construct
__construct()
Определения
application.php:17
Bitrix\Main\Authentication\Application\$validUrls
$validUrls
Определения
application.php:15
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
Bitrix\Main\Authentication
Определения
application.php:9
Bitrix\Main
$url
$url
Определения
iframe.php:7
bitrix
modules
main
lib
authentication
application.php
Создано системой
1.14.0