File manager - Edit - /home/c14075/dragmet-ural.ru/www/application.php.tar
Back
home/c14075/dragmet-ural.ru/www/bitrix/modules/main/lib/authentication/application.php 0000644 00000001173 15133473715 0024665 0 ustar 00 <?php /** * Bitrix Framework * @package bitrix * @subpackage main * @copyright 2001-2014 Bitrix */ namespace Bitrix\Main\Authentication; use Bitrix\Main; class Application { protected $validUrls = array(); public function __construct() { } /** * Checks the valid scope for the applicaton. * * @return bool */ public function checkScope() { /** @var Main\HttpRequest $request */ $request = Main\Context::getCurrent()->getRequest(); $realPath = $request->getScriptFile(); foreach($this->validUrls as $url) { if(mb_strpos($realPath, $url) === 0) { return true; } } return false; } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.26 |
proxy
|
phpinfo
|
Settings