uawdijnntqw1x1x1
IP : 216.73.216.163
Hostname : yjpwxulqtt
Kernel : Linux yjpwxulqtt 5.15.0-126-generic #136-Ubuntu SMP Wed Nov 6 10:38:22 UTC 2024 x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,exec,system,passthru,shell_exec,proc_open,popen
OS : Linux
PATH:
/
home
/
user
/
web
/
pansionat-v-yaroslavle.ru
/
public_html
/
bitrix
/
modules
/
clouds
/
..
/
main
/
lib
/
request.php
/
/
<?php namespace Bitrix\Main; use Bitrix\Main\Type; use Bitrix\Main\Text; use Bitrix\Main\IO; /** * Class Request contains current request * @package Bitrix\Main */ abstract class Request extends Type\ParameterDictionary { /** * @var Server */ protected $server; protected $requestedPage = null; protected $requestedPageDirectory = null; public function __construct(Server $server, array $request) { parent::__construct($request); $this->server = $server; } public function addFilter(Type\IRequestFilter $filter) { $filteredValues = $filter->filter($this->values); if ($filteredValues != null) $this->setValuesNoDemand($filteredValues); } public function getPhpSelf() { return $this->server->getPhpSelf(); } public function getScriptName() { return $this->server->getScriptName(); } public function getRequestedPage() { if ($this->requestedPage === null) { $page = $this->getScriptName(); if (!empty($page)) { $page = IO\Path::normalize($page); if (substr($page, 0, 1) !== "/" && !preg_match("#^[a-z]:[/\\\\]#i", $page)) { $page = "/".$page; } } $this->requestedPage = $page; } return $this->requestedPage; } public function getRequestedPageDirectory() { if ($this->requestedPageDirectory === null) { $requestedPage = $this->getRequestedPage(); $this->requestedPageDirectory = IO\Path::getDirectory($requestedPage); } return $this->requestedPageDirectory; } public function isAdminSection() { $requestedDir = $this->getRequestedPageDirectory(); return (substr($requestedDir, 0, strlen("/bitrix/admin/")) == "/bitrix/admin/" || substr($requestedDir, 0, strlen("/bitrix/updates/")) == "/bitrix/updates/" || (defined("ADMIN_SECTION") && ADMIN_SECTION == true) || (defined("BX_PUBLIC_TOOLS") && BX_PUBLIC_TOOLS === true) ); } /** * Returns true if current request is AJAX * @return bool */ public function isAjaxRequest() { return $this->server->get("HTTP_BX_AJAX") !== null || $this->server->get("HTTP_X_REQUESTED_WITH") === "XMLHttpRequest"; } }
/home/user/web/pansionat-v-yaroslavle.ru/public_html/bitrix/modules/clouds/../main/lib/request.php