Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
application.php
1
<?php
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
}
Bitrix\Main\Application
Definition
application.php:28
Bitrix\Main\Authentication\Application\__construct
__construct()
Definition
application.php:17
Bitrix\Main\Authentication\Application\$validUrls
$validUrls
Definition
application.php:15
Bitrix\Main\Authentication
Definition
application.php:9
Bitrix\Main
modules
main
lib
authentication
application.php
Создано системой
1.10.0